RE: [xsl] Multiple Sorting

Subject: RE: [xsl] Multiple Sorting
From: "Tim Watts" <timw@xxxxxxx>
Date: Fri, 27 Jul 2001 15:05:51 +1000
Using XSLT 1.0, it would be...

<xsl:for-each select="addressbook/contact">
  <xsl:sort select="lastname"/>
  <xsl:sort select="firstname"/>


-----Original Message-----
From: Jarno.Elovirta@xxxxxxxxx

> 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;

thought I'm not sure, haven't used that language in a while. You really
should switch over to using XSLT 1.0 soon.


Jarno - CMX: Saatana

 XSL-List info and archive:

Current Thread