Topic: Sort ad filter tables using XSL Pages that link to <a href="https://ozoneasylum.com/backlink?for=10942" title="Pages that link to Topic: Sort ad filter tables using XSL" rel="nofollow" >Topic: Sort ad filter tables using XSL\

 
Author Thread
Yossi Admon
Bipolar (III) Inmate

From: Israel
Insane since: Nov 2001

IP logged posted posted 03-23-2003 09:14 Edit Quote

Hi,
I would like to create a small table using xml-xsl and enable the user doing following (client side) actions on the table:
1- enable the user to sort the table for each and every column.
2 - enable the user to filter the columns.

Is it possible to pass parameters to xsl?
Can I use the same xsl for all cases by using the parameters as the filters and the sorting keys?
If there is a way it will be nice to have a small example.

10x in advanced
Yossi Admon

Maskkkk
Paranoid (IV) Inmate

From: Willaimsport, PA, US of A the hole in the Ozone
Insane since: Mar 2002

IP logged posted posted 03-25-2003 14:01 Edit Quote

It is possible to pass parameters to XSL, and yes it's very useful...

But first I'd first suggest getting a copy of cooktop.

You specify XSL parameters like this:
<xsl aram name="class">SPC201</xsl aram>

The value of the parameter goes in between the tags.

Now as for specifiying the value in thestylesheet somewhere you have to do a little like varibles in perl like so...

<xsl:value-of select="$class" />

And if you want to specify a value for the parameter in the parser, your going to need to find that out for your self (maybe) depending on which language it is we are talking about. It'll be diffrent for each language.



- Face the Present
- AIM: MASKKKK

[This message has been edited by Maskkkk (edited 03-25-2003).]



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu