Adding XmlNode from one XmlDoc to another
Posted on 2003-10-24
I want to add an XmlNode from one doc to another,
Basically, I have
The UserSets are created on their own by other methods under different XmlDocuments. I then want to pass all of these Documents whose top node is <UserSet> and merge them into the above large XML file. What is the easiest way to do this? I am under the impression you cannot just get a node from one xmlDocument and add it to another because it would mess up the parent information. So, do I need to copy all the nodes by hand, can I copy them easily?