I
Igor
Is there any way to resort and xml document using xslt based on
element position.
For example if I have xml like this:
<root>
<element> 1st thing </element>
<element> 2nd thing </element>
<element> 3rd thing </element>
</root>
would it be possible using xslt only to reverse it into:
<root>
<element> 3rd thing </element>
<element> 2nd thing </element>
<element> 1st thing </element>
</root>
I also can't sort based on the alphabetical or numerical order of the
actual information between the element tags, only on the position of
the tags, ie I would like to reverse their order.
element position.
For example if I have xml like this:
<root>
<element> 1st thing </element>
<element> 2nd thing </element>
<element> 3rd thing </element>
</root>
would it be possible using xslt only to reverse it into:
<root>
<element> 3rd thing </element>
<element> 2nd thing </element>
<element> 1st thing </element>
</root>
I also can't sort based on the alphabetical or numerical order of the
actual information between the element tags, only on the position of
the tags, ie I would like to reverse their order.