RE: Dynamic sort fx
Well i've searched for it on the net for 2 days, and you're right I guess..without script in an html page I can't trigger and handle events in the xsl alone. Thanks for replying! -----Original Message----- From: cknell@xxxxxxxxxx [mailto:cknell@xxxxxxxxxx] Sent: Thursday, November 16, 2006 10:53 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: Dynamic sort fx 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: 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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format