Hi,
I am having some performance issues when using ReplaceChild to modify the DOM, and am trying to instead use this:
IXMLDOMDocument newDoc = thisXDocument.CreateDOM();
newDoc.load(transformedXml.ToString());
thisXDocument.ImportDOM(newDoc);
But when this runs, I get the following error:
System.Runtime.InteropServices.COMException
This form has an unknown structure.
#65279;#65279;
The XML Schema specified for this form could not be identified.
Has anyone run into this before? I have a feeling that it might be related to the newDoc, it contains xml that was created from running XSLT on the original DOM.