[XML-SIG] Re: To .document or not to .document
Randall Hopper
aa8vb@yahoo.com
Tue, 14 Dec 1999 11:40:56 -0500
Randall Hopper:
|When xml.dom.utils.FileReader is used to read in an XML DOM, the DOM may or
|may not have a leading .document component depending on whether the XML was
|read from a file or a stream.
...
| reader = utils.FileReader().readStream( stream )
| reader = utils.FileReader( "elements.xml" )
I see my mistake. Though both forms read the XML stream, they don't return
the same object. The first returns the stream; the second gives you back
the parser.
--
Randall Hopper
aa8vb@yahoo.com