This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Multiple Sorting


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]