Sign In/My Account | View Cart  
advertisement

Article:
 Sorting in XSLT
Subject: sort
Date: 2005-11-28 12:51:49
From: harvy

Is it possible to sort by order of nodes as they are in the xml list?
ie if teh xml file is:
a
b
c


and i want to reverse the order so that it displays


c
b
a


what do i sort with?


Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • sort
    2006-04-20 05:58:37 jbautista

    Were you able to figure this out? I'm trying to do something similar. I want to sort by the node names, a,b,c:
    <element>
    <a/>
    </element>
    <element>
    <b/>
    </element>
    <element>
    <c/>
    </element>


    Thanks in advance!


Sponsored By: