Build document representation by parsing XML. This implementation uses
the method defined by XPP to build the document from an input stream
wrapped in a reader, since direct parsing from a stream is not supported.
Note that XPP supports other methods for constructing the document, but
an input stream is considered the most representative of real
applications.
Parameters: in - XML document input stream document representation