RE: [xsl] xsl:sort - sorting according to user selection

Subject: RE: [xsl] xsl:sort - sorting according to user selection
From: Bryan Tulloch <b.tulloch@xxxxxxxxxxxxx>
Date: Tue, 29 May 2001 13:52:45 +0100
I am using MXMXL3

-----Original Message-----
From: Ben Robb [mailto:b.robb@xxxxxxxxxx]
Sent: Tuesday, May 29, 2001 12:57 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] xsl:sort - sorting according to user selection


Set a parameter when you do the transform... though you'd have to tell
us which processor you are using for us to tell you how do actually
accomplish this...

Ben


> -----Original Message-----
> From: Bryan Tulloch [mailto:b.tulloch@xxxxxxxxxxxxx]
> Sent: 29 May 2001 12:57
> To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: [xsl] xsl:sort - sorting according to user selection
> 
> 
> 
> 
> I have the following problem.
> I have an xsl file that displays a table. I want each column 
> heading in the
> table to generate a sort ie if the user clicks on heading 1, 
> the data for
> the whole table will be sorted according to column 1, if 
> heading 2 then the
> whole table is sorted according to column 2 etc.
> Obviously, I could do this by having each column linked to 
> its own xsl file
> which would perform the sort. However, rather than using 
> multiple xsl files,
> I would like to do it by using my single xsl file and getting 
> it to call
> itself (when a heading is clicked) and to use some kind of 
> parameter that
> will tell it how to do the sort.
> Any ideas?
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 

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

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


Current Thread