This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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@microsoft.com]
Sent: Tuesday, August 15, 2000 11:20 AM
To: 'xsl-list@mulberrytech.com'
Cc: 'Yuko_Caras@Visioncompass.com'
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]