W. Jordan wrote:
Can I rename the name of an XmlElement?
I can't find any method or properties to do so in the .net 2.0 sdk.
Shall I duplicate the XmlElement's children and attributes
just in order to change its name?
You need to create a new element with the desired named, then you need
to copy the attributes. There is no need to duplicate the children as
you can simply AppendChild them to the new element. Then you need to use
ReplaceChild to replace the original with the new element.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/