[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Dynamic sort fx

Subject: RE: Dynamic sort fx
From: "Dhunta, Vikram \(GE, Corporate\)" <vikram.dhunta@xxxxxx>
Date: Fri, 17 Nov 2006 03:40:56 +0530
sort column 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.