[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl or html?

Subject: RE: xsl or html?
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Mon, 16 Jun 2003 11:24:39 -0400
xsl or
[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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.