[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl or html?
[dsk ] > > not sure if this is an html or xsl question. > After an html table is created with xsl and html, based > on an xml document, what is the best way to sort > value in the columns of the table? Once you have produced your html file and the browser has it, the xslt processor on the server is out of the picture. You are working completely in the client browser. For sorting, you have several choices. Only one of them could conceiveably involve xslt on the browser. 1) Use javascript to sort and redisplay the data. 2) send a request to the server to supply a new version of the page with the new sort order. 3) In the browser, use an xslt transformation to change (part of) the original tree and then replace the original with the transformed version. Several years ago, Microsoft had an example on their documentation site of doing this with IE (using their old, pre-xslt language). I am not too sure whether you could do the same thing in other browser, but it might be possible in Mozilla. 4) Use a java applet instead of HTML. Even with approach 3), you would be dealing with an entirely different xslt transformation that the original one. I would go with 1). Cheers, Tom P 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
|