xml.etree.ElementTree.XMLID()

xml.etree.ElementTree.XMLID(text, parser=None)

Parses an XML section from a string constant, and also returns a dictionary which maps from element id:s to elements. text is a string containing XML data. parser is an optional parser instance. If not given, the standard XMLParser parser is used. Returns a tuple containing an Element instance and a dictionary.

doc_python
2016-10-07 17:48:06
Comments
Leave a Comment

Please login to continue.