I have an XmlDataDocument and want to create a copy of it so that I have two seperate objects. However when I do the following I get what is essentially two pointers to the same document (confirmed by doing a ReferenceEquals call)
XmlDataDocument xml2 = xml1;
So the question is how can I create a second xml document from the first?
Question
Gooey
I have an XmlDataDocument and want to create a copy of it so that I have two seperate objects. However when I do the following I get what is essentially two pointers to the same document (confirmed by doing a ReferenceEquals call)
XmlDataDocument xml2 = xml1;
So the question is how can I create a second xml document from the first?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts