rename xml rootnode using c#
<p>I am using the below code to change the root node name. But its not working for me. Please help me to do this. My partial code is given below.</p>

<pre><code>XmlNode PackageListNode = hst_doc.SelectSingleNode("NewDataSet");
                XmlNodeList PackageNodeList = PackageListNode.SelectNodes("Table5");

                hst_doc.DocumentElement.Name.Replace("NewDataSet", "rows");
</code></pre>
