all groups > dotnet xml > april 2006 >
You're in the

dotnet xml

group:

Question about output XML stream containing several XML instance documents


Question about output XML stream containing several XML instance documents aboutjav.com NO[at]SPAM gmail.com
4/28/2006 5:10:04 AM
dotnet xml:
Hi,

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?

Am I correct to assume this? Is there some consideration to look at
first?

Thanks,

CR
Re: Question about output XML stream containing several XML instance documents Bjoern Hoehrmann
4/28/2006 2:27:32 PM
* aboutjav.com@gmail.com wrote in microsoft.public.dotnet.xml:
[quoted text, click to view]

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:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
AddThis Social Bookmark Button