Erick Thompson [mailto:[EMAIL PROTECTED]] wrote:

> Is there a good way to copy an XmlNode element's tag
> contents? What I need to do is take something like <tag
> att="one">Some text</tag>, and return <tag att="one"> only.

Sure is. Have a look at XmlNode::CloneNode. In your case you want to pass
false for the "deep" parameter.

HTH,
Drew

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to