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]

Multiple Sorting


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


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