I have an out of my control XmlDocument that has the following structure:
<parent1> ...minor amount of data... </parent1>
I have another XmlDocument, also out of my control, which has the following structure:
<parent2> ..very large amount of data... </parent2>
I need an XmlDocument in the format:
<parent1> ...minor amount of data... <parent2> ..very large amount of data... </parent2> </parent1>
I do not want to make a copy of parent2. How can I get the desired structure without copying parent2? I think that means
oParent1.DocumentElement.AppendChild(oParent1.ImportNode(oParent2.DocumentElement, true));
out of the question.
Any good solutions?
optimization c # xmldocument
aepheus
source share