hi,
i have a xml file
<root>
<Type />
<Description />
<Category />
<employee >
<id>3</id>
</employee>
<employee>
<id>1</id>
</employee>
<employee>
<id>5</id>
</employee>
</root>
and i want output xml as
<root>
<Type />
<Description />
<Category />
<employee >
<id>1</id>
</employee>
<employee>
<id>3</id>
</employee>
<employee>
<id>5</id>
</employee>
</root>
that is i want updated xml to retain all the nodes(type,Description..)
and employee nodes sorted by their ids.
i am doing this with XpathExpression but with not with much suceess.
the XpathExpression Addsort() method isnt able to sort this.
Can anybody provide me the code on how to do this?
thanx
Vidit