Rahul,
i cant understand wy do u use foreach to get the System node
Instead try using for loop iterating thru the nodelist
try the following
for(int i=0;i<tmp1.coun t,i++)
{
XmlNode a = tmp1[i].SelectSingleNo de("System");
}
now u get the system node in the XmlNode a
hope this reply helps
revert back if u hav...
User Profile
Collapse
-
XmlNodeList - Sorting and Saving the XML Document
hi all,
i want to sort an XmlNodeList based on a innertext value of a XmlNode in the XmlNodeList and would like to save the sorted order to be reflected in the source XML document from where the node list was populated...
Is this possible ? or i need to look into an alternative?
Please members..
Looking forward for your reply
Regards
Nandhu
No activity results to display
Show More
Leave a comment: