This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xsl:sort -- XSLT version 1.1/2.0: document order and request for reverse doc. order
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- 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 at baan dot nl>
- Date: Fri, 4 May 2001 09:46:47 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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