Re: [xsl] xsl:sort by attribute

Subject: Re: [xsl] xsl:sort by attribute
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 9 Jun 2003 17:10:03 +0100
> we need to sort by the attribute of the
> element.

So select the attribute using normal Xpath conventions:

<xsl:sort select="ide_proceso/@Valor" date-type="string" order
="ascending" />

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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


Current Thread