XMLReader.from_string
- classmethod XMLReader.from_string(text, tree_parser=None)
Construct a reader from a source text.
- Parameters
text (str) – A string of text containing the XML source code.
tree_parser (
ET.XMLParser
, optional) – A custom tree parser.
- Returns