xtuml/persist.py
def serialize_instances(metamodel):
    '''
    Serialize all instances in a *metamodel*.
    '''
    s = ''
    for inst in metamodel.instances:
        s += serialize_instance(inst)
    
    return s
def serialize_instances(metamodel):
    '''
    Serialize all instances in a *metamodel*.
    '''
    s = ''
    for inst in metamodel.instances:
        s += serialize_instance(inst)
    
    return s
def serialize_instances ( metamodel ) : s = '' for inst in metamodel . instances : s += serialize_instance ( inst ) return s
Serialize all instances in a *metamodel*.
Serialize all instances in a * metamodel * .