RE: [xsl] Dynamic sort fx

Subject: RE: [xsl] Dynamic sort fx
From: cknell@xxxxxxxxxx
Date: Thu, 16 Nov 2006 10:52:55 -0500
XML and XSLT don't know from clicks. That is a user interface issue. So if you want a user-generated click on an HTML element to cause a re-display of an XML file via an XSLT transformation, you need something to handle the click event, then pass the information to some controlling program that would invoke an XSLT transformation, passing that information along as a parameter to the stylesheet.

In short, there's no magic here. If you can't get some programming to handle the click and orchestrate the transformation, you're out of luck.
Charles Knell
cknell@xxxxxxxxxx - email

-----Original Message-----
From:     Dhunta, Vikram \(GE, Corporate\) <vikram.dhunta@xxxxxx>
Sent:     Thu, 16 Nov 2006 20:43:23 +0530
To:       <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject:  [xsl] Dynamic sort fx


I'd like to know if there's a way to sort the xml dynamically. I have an
xsl that outputs the xml in a tabular format, and sorts it by one of the
columns. I would like the user to be able to click on any column header
and then the table should sort by that column. (ie somehow manipulate
the xsl:sort select parameter dynamically?)

I can't use javasript to transform my xml, since I can't upload any html
page to the server - only an xsl (tool restriction). 

So is there a way to do it from just within the xsl?

Thanks in advance

Current Thread