prettify_xml#

pyCGM2.Utils.prettyfier.prettify_xml(xml_string, indent=2, debug=False)#

Prettify XML with intelligent inline tags. :param xml_string: XML text to prettify. :type xml_string: str :param indent: Set size of XML tag indents. :type indent: int, optional :param debug: Show results of each regexp application. :type debug: bool, optional

Returns:

str – Prettified XML.