untangle parses an XML document and returns a Python object which makes it easy to access the data you want.
Example:
import untangle obj = untangle.parse('<root><child name="child1"/></root>') assert obj.root.child['name'] == u'child1'
untangle parses an XML document and returns a Python object which makes it easy to access the data you want.
Example:
import untangle obj = untangle.parse('<root><child name="child1"/></root>') assert obj.root.child['name'] == u'child1'