Ben Griffin wrote:
How do I instantiate a DOMDocumentFragment from a XMLCh* (or XMLByte* )?
Alternatively, where can I find sample code for that?
If the stream contains a well-formed document, you can just parse it
using one of the DOM parsers. See the MemParse sample for the details.
Is there some reason you need a document fragment, rather than just a
document? Perhaps it's because the stream doesn't contain a well-formed
document? If that's the case, you'll need to wrap it in a single root
element to parse it.
Dave