Subject: RE: multiple sorting From: "Caras, Yuko" <Yuko_Caras@xxxxxxxxxxxxxxxxx> Date: Tue, 15 Aug 2000 12:52:43 -0700 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Any ideas, Chris Bayes | Thread | RE: multiple sorting, Caras, Yuko |
Re: Selecting case insensitively, Michal_Mart | Date | Re: multiple sorting, Jeni Tennison |
Month |