How to reverse childnodes of a XML nodes using C#

Posted by Royson on Stack Overflow See other posts from Stack Overflow or by Royson
Published on 2010-04-12T12:23:40Z Indexed on 2010/04/12 12:33 UTC
Read the original article Hit count: 461

Filed under:
|
|
|

I want to set reverse order of child nodes of given XML nodes.

How to do this???

 <Parent>
   <Child1>  </Child1>
   <Child2>  </Child2>
 </Parent>

OUTPUT:

<Parent>
<Child2>  </Child2>
<Child1>  </Child1>
</Parent>

© Stack Overflow or respective owner

Related posts about c#

Related posts about reverse