I have a master XML document which I produce results from my program. I have to interface with a COM object that returns a separate XML document, which I parse and "try" to combine with my main document. Is there a elegant way to combine these two documents?
I have tried taking the document element from the second document and setting it as a child node as I would like to have the master document. This actually produces a valid master document, and will save the XML in a valid context. I could write the code to copy the data from document to document, but it seems this is 95% there.