Well, I'm using Perl CGI to generate the XML on the server-side. On the
XML I have the query params from the script, so I was wondering if I
can use this params to sort within the XSL?
Also, I can I create an url with the value of some elements from my
XML?
Something like (on my xsl file), <a href="listsites.cgi?field=<xml
element value here>&sort=<xml element value here>">sites</a>...
On Dec 11, 4:55 pm, Martin Honnen <mahotr...@yahoo.dewrote:
Quote:
bcochofel wrote: Quote:
What I want is when someone clicks a title chooses the sorting option,
if this is the actual sorting option then reverses the order. Can I do
this? How?Your XSLT probably creates a HTML table. To sort that table you can use
| client-side script (JavaScript) if available. You can also use
client-side XSLT to sort if available although then you have to use
script too to run the transformation. A robust solution that works
independent of the browsers XSLT and script support will need to sort
the table server-side meaning a click on that table header will send a
request to the server to do the sorting and send a new document with a
sorted table back.
>
--
>
Martin Honnen http://JavaScript.FAQTs.com/ |