|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: multiple sorting
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
|
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
|

Cart








