XmlTextReader xmlTextReader = new XmlTextReader(new StringReader(myXml));
XmlDocument myXmlDocument = new XmlDocument();
XmlNode xmlNode = myXmlDocument.ReadNode(xmlTextReader);
XmlDocument myOtherXmlDocument = new XmlDocument();
myOtherXmlDocument.ImportNode(xmlNode, false);
No comments:
Post a Comment