XML_Document.from_stream
XML_Document.from_streaminput_stream
Documentation
Read an XML document from an input stream. If there is a parsing error, XML_Error.Parse_Error
is thrown.
Arguments
input_stream
: the input stread to read the XML document from.
Examples
Read an XML document from an input_stream.
doc = XML_Document.from_stream input_stream