xml.etree.ElementTree.XML()

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

Parses an XML section from a string constant. This function can be used to embed “XML literals” in Python code. text is a string containing XML data. parser is an optional parser instance. If not given, the standard XMLParser parser is used. Returns an Element instance.

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

Please login to continue.