Subject: Re: sort on more than one element
From: Michael Hoffmann <m-hoffmann@xxxxxx>
Date: Wed, 1 Nov 2000 09:51:55 -0400 (EST)
|
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
|