You try to copy one or more XML Nodes (usually elements though) from one XMLDocument and another, and you get the following error:
(Note from 1/21/2012: Try using the XDocument class and LINQtoXML, it's much easier to deal with!)
- This contains the Text representation of XML including the node itself and all of the children.
- This contains the Text representation of XML node of all its children.
XmlDocument xd = new XmlDocument();var sx = sDoc.ToString();xd.LoadXml(sx);
Hope I gave you enough hint here, but if you need a more complete coding example, please post a comment and next time I come back here I will write one up for you.