|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Multiple Sorting
Using XSLT 1.0, it would be... <xsl:for-each select="addressbook/contact"> <xsl:sort select="lastname"/> <xsl:sort select="firstname"/> ... </xsl:for-each> :) -----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; 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








