*
ab**********@gmail.com wrote in microsoft.public.dotnet.xml:
I am writing an application which takes an XML input stream. Can the
XML input stream contain 1 or more XML document information? If so, I
can write to an XML output stream and return multiple XML document
information back?
This depends. You could include the subtrees of several documents
starting with the root element, you might also be able to include
processing instructions and comments preceding and following the
root element, but e.g. document type declarations cannot be included
literally in other documents, you would have to remove or escape
them in some way. This requires that you have a container format
that holds multiple documents and the exchanging entities know about
this format. I'm not sure whether this would be the case in your
scenario as you didn't provide much detail about it.
--
Björn Höhrmann · mailto:bj****@hoehrmann.de ·
http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 ·
http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 ·
http://www.websitedev.de/