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 - 15 Dec 2006 17:05 GMT
>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,
[quoted text clipped - 3 lines]
> XmlDocument to another XmlDocument instance so seperate consumer
> objects can use their own doc.
the Clone method?
> Thanks.