XmlNode copy = doc.ImportNode(sourceNode, true);
parent.AppendChild(copy);
where doc is the instance of XmlDocument that represent the destination
document,
sourceNode is XmlNode from foreign context, and parent is the parent node of
the new node,
in the 'doc' context.
--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"juli jul" <ju******@yahoo.com> wrote in message
news:uB**************@TK2MSFTNGP09.phx.gbl...
Hello,
How can I copy content of one xml file to a new one?
Thanks!
*** Sent via Developersdex http://www.developersdex.com ***