This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Multiple Sorting
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Multiple Sorting
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 27 Jul 2001 09:36:20 +0100
- References: <002e01c11652$0769fb40$cfb632d4@orion>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> My question is, is it possible to order the data by <lastname> and then by
> <firstname> from the same XSL stylesheet?
Yes if you were using XSL you'd be able to use two xsl:sort
instructions.
Hower you are not using XSL but the deprecated language that IE5 uses in
the abscence of an MSXML3 update. So, best would be to install MSXML3
first then
<xsl:for-each select="addressbook/contact">
<xsl:sort select="lastname"/>
<xsl:sort select="firstname"/>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list