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

RE: multiple sorting

Subject: RE: multiple sorting
From: "Caras, Yuko" <Yuko_Caras@xxxxxxxxxxxxxxxxx>
Date: Tue, 15 Aug 2000 12:52:43 -0700
josh caras
Thank you, Joshua, for your comment.  Although that could be the best
option, I would like to know if there is another way to do the work without
depending on browser/IE.  The closest example I faced was the Bryce's work,
under "XSL Sort and Xalan" topic in xsl-list and this works very well.  My
main question is if I can add an additional function to it.

Thanks a lot.
Yuko



-----Original Message-----
From: Joshua Allen [mailto:joshuaa@xxxxxxxxxxxxx]
Sent: Tuesday, August 15, 2000 11:20 AM
To: 'xsl-list@xxxxxxxxxxxxxxxx'
Cc: 'Yuko_Caras@xxxxxxxxxxxxxxxxx'
Subject: RE: multiple sorting


Sorting dynamically client-side really implies that
your browser supports XML (which means IE today) and
if you are using <xsl:sort..> means that they have
a current version of the XSLT processor installed
on the client.  Given these conditions, you can
use something similar to the sample at
http://msdn.microsoft.com/xml/samples/portfolio/sort.htm
the basic idea is the you use javascript to create
the filtered/sorted output and use DHTM .innerHTML to
place this in an element somewhere.  The example above
does not do any pretty formatting, but I pointed to it
because it should be easy to understand, and you should
be able to see from there if you will need to change the way
the DOM is accessed or something to make it compatible with
Netscape 6 when it releases.  Also you may want to
experiement with that version calling XSLT transform. 
The basic idea is to use DHTML DOM, which is illustrated 
there though.  For a dynamic client sort sample with prettier 
formatting, see
http://msdn.microsoft.com/xml/samples/stock-sorter/stock-sorter.xml.

Thanks,
Joshua

 


 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.