This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: xsl:sort -- XSLT version 1.1/2.0: document order and request for reverse doc. order


> Sometimes, however, I want to process these nodes in
> *reverse* order.

You can do that by using position() as the sort key: 

<xsl:sort select="position()" order="descending"/>

Linda

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]