This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: sort on more than one element
- To: xsl-list at mulberrytech dot com
- Subject: Re: sort on more than one element
- From: Michael Hoffmann <m-hoffmann at ti dot com>
- Date: Wed, 1 Nov 2000 09:51:55 -0400 (EST)
- References: <14846.49153.678000.361525@menteith.com>
- Reply-To: xsl-list at mulberrytech dot com
Rajagopal Srinivasan wrote:
>
> hi
>
> iam using xsl:sort and i need to sort of more than one element
>
> ex
>
> <xsl:sort select="col1;col2"/>
>
> the parser says that it does not expect a ';'. I tried a ',' - but dint work too.
>
> what is the right way to do this.
you could do <xsl:sort select="col1" /> <xsl:sort select="col2" />
maybe not the best way.. but for me it worked :-)
michael
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list