RE: [xsl] Multiple Sorting

Subject: RE: [xsl] Multiple Sorting
From: Jarno.Elovirta@xxxxxxxxx
Date: Fri, 27 Jul 2001 07:37:28 +0300
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


Current Thread