Graeme Foster [mailto:[EMAIL PROTECTED]] wrote:
> That would get a whole (but empty) element, though. That's actually what he wanted... at least that's the way I interpreted it. He said: > > What I > > need to do is take something like <tag att="one">Some > text</tag>, and > > return <tag att="one"> only. So, from what I can tell he wants the element with all it's attributes, but none of it's child nodes (including the text node) and this is exactly what XmlNode::CloneNode(false) will do. Later, Drew You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.