Groups | Blog | Home
all groups > dotnet sdk > december 2006 >

dotnet sdk : Copy XmlDocument?



xeroxero
12/15/2006 1:29:02 AM
I am using .NET Framework 2.0. I have created/populated an
XmlDocument, and I am trying to use it as a read-only entity. However,
something is modifying it, and because I think it inherits from
MarshallByRef any change affects the entire thing. The document is
actually very small, so I was wondering the best way to copy the
XmlDocument to another XmlDocument instance so seperate consumer
objects can use their own doc.

Thanks.

Ben Voigt
12/15/2006 11:05:55 AM

[quoted text, click to view]

the Clone method?

[quoted text, click to view]

AddThis Social Bookmark Button