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.

```
XmlNode PackageListNode = hst_doc.SelectSingleNode("NewDataSet");
                XmlNodeList PackageNodeList = PackageListNode.SelectNodes("Table5");

                hst_doc.DocumentElement.Name.Replace("NewDataSet", "rows");

```