[xsl] Multiple Sorting

Subject: [xsl] Multiple Sorting
From: "Sean Kelly" <sean@xxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2001 05:10:09 +0100
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


Current Thread