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]

RE: sort on more than one element


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

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