How to embed one XML document in another XML document

webmasterbeta

New Member
I need to "wrap" several XML documents into a parent XML document.How can this be done, and how can it be represented in a Schema?XML doesn't allow the <?xml> prologue elements of the child doumentssto appear inside the parent document. I thought of wrapping the childdocuments with a <?[CDATA[ so it won't be parsed. However, this doesn'twork if the child document contains any CDATA, because CDATA can't benested. Surely this is a common problem and there is a common solution?
 
Back
Top