I need to embed arbitrary (syntactically valid) XML documents within a wrapper XML document. The embedded documents are to be regarded as mere text, they do not need to be p
Consider using XInclude instead of trying to embed an XML document inside another. The XInclude parse="text" attribute will force the XML to be treated as text, not markup.