about Xml sort

  • Thread starter Thread starter news.microsoft.com
  • Start date Start date
N

news.microsoft.com

I want to XmlNode.ChildNodes reSort by any InnerText
en....how?
thanks very much!!
 
I hope I understood the question - you have an XmlNode and you want to
resort its ChildNodes by their InnerText?
I guess the easiest way is to use XslTransform with a matching XSLT that
sorts the childnodes. This will, however, produce a new XmlNode with the
sorted ChildNodes, but maybe you need to sort all nodes in a document
anyway.
 
Back
Top