def xml_prettify(elem):
    text = ET.tostring(elem, "utf-8")
    reparsed = minidom.parseString(text)
    return reparsed.toprettyxml(indent=" ")
Return a pretty-printed XML string for the XML element.
dataset/ETHPy150Open behave/behave/bin/behave.junit_filter.py/xml_prettify