mango.application.main_driver.xml_generator.makeXmlDoc

mango.application.main_driver.xml_generator.makeXmlDoc(xmlStr)[source]

Turns XML tag string into XML document which can be validated by xml.etree.ElementTree parser. Simply adds the '<? xml version="1.0"?>' header string and global enclosing tags of <mango>...</mango>. :type xmlStr: str :param xmlStr: String of XML. :rtype: str :return: XML document string.

Previous topic

mango.application.main_driver.xml_generator.checkXmlFromString

This Page