xsl-list
[Top] [All Lists]

RE: [xsl] Dynamic sort fx

2006-11-16 08:53:43
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(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Dhunta, Vikram \(GE, Corporate\) 
<vikram(_dot_)dhunta(_at_)ge(_dot_)com>
Sent:     Thu, 16 Nov 2006 20:43:23 +0530
To:       <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject:  [xsl] Dynamic sort fx

Hi

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
Vikram

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>