This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Multiple Sorting
- To: <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Multiple Sorting
- From: "Sean Kelly" <sean at allure dot karoo dot co dot uk>
- Date: Fri, 27 Jul 2001 05:10:09 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi all :)
I have a valid XML file (lets say)
<addressbook>
<contact>
<firstname>John</firstname>
<lastname>Doe</lastname>
</contact>
</addressbook>
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?
thanks
sean
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list