Skip to Content
0
Oct 25, 2017 at 06:27 PM

Reorder the XML node from last to first

133 Views

HiExperts,

I have below xml structure

<head><item><f1>a</f1><f2>b</f2></item><item><f1>c</f1><f2>d</f2></item></head>

I want the "item" nodes to be reversed,i.e.,from last to first.Please help me with the relevant for the same.

ThankYou.

Ahmed