Subject: RE: [xsl] xsl or html? From: "Passin, Tom" <tpassin@xxxxxxxxxxxx> Date: Mon, 16 Jun 2003 11:24:39 -0400 |
[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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] merging multiple files into m, RPeterson | Thread | RE: [xsl] coping with huge xml-saxo, Passin, Tom |
[xsl] coping with huge xml-saxon, XSL Chatr | Date | Re: [xsl] more elegant way to proce, David Carlisle |
Month |