How do i rename specific nodes? I tried a lot of things but it doesn't work for me. I need a method : replace (oldnode,newnode).
Here is my code for parsing xml file
public Recursion ( XmlNode node )
{
if ( node.NodeType != XmlNodeType.Text )
{
Console.WriteLine( "Tag Name = " + node.Name );
}
XmlNodeList children = node.ChildNodes;
foreach ( XmlNode child in children )
{
Recursion( child );
}
}