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

Subject: RE: [xsl] xsl:sort -- XSLT version 1.1/2.0: document order and request for reverse doc. order
From: Linda van den Brink <lvdbrink@xxxxxxx>
Date: Fri, 4 May 2001 09:46:47 +0200
> 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


Current Thread