I have a huge bunch of XML files with the following structure:
someContent someType &
The easiest way I found to rename a node is:
xmlNode.InnerXmL = newNode.InnerXml.Replace("OldName>", "NewName>")
Don't include the opening < to ensure that the closing tag is renamed as well.
<