This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Multiple Sorting
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Multiple Sorting
- From: Jarno dot Elovirta at nokia dot com
- Date: Fri, 27 Jul 2001 07:37:28 +0300
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hip hei!
> which has a valid XSL file to translate the data into HTML ordered by
> <lastname> using
>
> <xsl:for-each select="addressbook/contact" order-by="+lastname">
>
> My question is, is it possible to order the data by
> <lastname> and then by
> <firstname> from the same XSL stylesheet?
I think that would be
<xsl:for-each select="addressbook/contact" order-by="+lastname;
firstname">
thought I'm not sure, haven't used that language in a while. You really
should switch over to using XSLT 1.0 soon.
Cheers,
Jarno - CMX: Saatana
--
A Tank. Dead butch but a bugger to park.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list