XML_Document.parse
XML_Document.parsexml_string
Group: Conversions
Documentation
Read an XML document from a string.
If there is a parsing error, XML_Error.Parse_Error is thrown.
Arguments
xml_string: The string to read the XML document from.
Examples
Read an XML document from an string.
xml_string = "<foo></foo>"
doc = XML_Document.parse xml_string