[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: sort on more than one element


Subject: RE: sort on more than one element
From: "Mike Ball" <mike.ball@xxxxxxxxxxxxxxxx>
Date: Wed, 1 Nov 2000 10:00:40 -0400 (EST)

Hi Raj
> 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.
> 

<xsl:sort select="col1"/>
<xsl:sort select="col2"/>

Will sort by col2 within col1.

Mike Ball

 
Application Services Consultant
Software AG UK




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread