470,833 Members | 1,447 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

Question about output XML stream containing several XML instance documents

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

Apr 28 '06 #1
1 932
* 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/
Apr 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Jurjen de Groot | last post: by
10 posts views Thread by serge calderara | last post: by
3 posts views Thread by super.raddish | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.