bridgepoint/gen_xsd_schema.py
def prettify(xml_string):
    '''
    Indent an xml string with four spaces, and add an additional line break after each node.
    '''
    reparsed = xml.dom.minidom.parseString(xml_string)
    return reparsed.toprettyxml(indent="    ")
def prettify(xml_string):
    '''
    Indent an xml string with four spaces, and add an additional line break after each node.
    '''
    reparsed = xml.dom.minidom.parseString(xml_string)
    return reparsed.toprettyxml(indent="    ")
def prettify ( xml_string ) : reparsed = xml . dom . minidom . parseString ( xml_string ) return reparsed . toprettyxml ( indent = "    " )
Indent an xml string with four spaces, and add an additional line break after each node.
Indent an xml string with four spaces and add an additional line break after each node .