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

RE: dynamic sorting

Subject: RE: dynamic sorting
From: "Max Dunn" <maxdunn@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 4 Nov 2001 13:38:56 -0800
javascript dynamic sorting
Hi Danny,

Yes, I'm afraid you're stuck with some scripting beyond pure XSLT to do
what you want.

See for example:

http://www.siliconpublishing.com/parts.xml
and
http://www.siliconpublishing.com/parts.xsl

This example uses JavaScript and will unfortunately only run in IE6 or
IE5+ with a recent version of MSXML.

HTH,

Max
http://www.siliconpublishing.com


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Danny Guindi
Sent: Sunday, November 04, 2001 12:55 PM
To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
Subject:  dynamic sorting


Hi all,

I have been searching the archives for an answer to my question, and I'm
very surprised I didn't find anything.

The problem I have relates to sorting columns in a table diplayed in the
browser.  Lets say my table has the folowing columns: Name, Age, City,
Country, etc...  I want the user to be able to click on any column name
and
re-sort the results by his/her criteria.  I have been trying to figure
out
how to do this, but it seems to me that the XSL template would have to
be
created dynamically.  Can I do this kind of sorting strictly in XSL, or
do I
have to use some kind of scripting language (JavaScript, VB Script)?

Thanks in advance,

Danny 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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-2013 All Rights Reserved.