[XML4Lib] performing XSLT transformations with a browser

Travis Ennis travis.ennis at gmail.com
Wed Jan 18 12:31:42 EST 2006


This isn't exactly what you looking for, but it possibly could give you some
ideas. I've never seen what you want done being done purely with XSLT. As
others have said, maybe when E4X comes along. Anyways, this solution allows
you to sort an XML file, and it uses only CSS and Javascript.

Although I've never used it, CSS's Display property gives you some ability
to format elements as tables. Let me know if it helps.


Travis Ennis
Email:    travis.ennis at gmail.com
Homepage: http://ella.slis.indiana.edu/~tlennis

-----Original Message-----
From: xml4lib-bounces at webjunction.org
[mailto:xml4lib-bounces at webjunction.org] On Behalf Of John Fitzgibbon
Sent: Wednesday, January 18, 2006 7:48 AM
To: xml4lib at webjunction.org
Subject: [XML4Lib] performing XSLT transformations with a browser


Is it possible to place my XML and XSLT files on a web server and have
both files delivered to the browser by HTTPD when the XML file is
requested so that an event like clicking on a button or link in the XML
file would have the effect of passing a parameter to the XSLT file which
would cause the XML file to be transformed differently.

For example, is it possible to change the sort order of a table by
clicking on a column heading to pass a parameter to the XSLT file which
then transforms the XML file so that the sort order is changed?

Are there any websites which describe how this can be done?

I only have access to a virtual host on an ISP's web server so it will
not be possible for me to install executables on the server.

Also, if XSLT works in this way (similar to JavaScript) it would mean
that pages are displayed more quickly because the pages are not being
downloaded from a web server each time.

Any ideas would be much appreciated?


John Fitzgibbon

Galway Public Library
Island House
Cathedral Square

p: 00 353 91 562471
f: 00 353 91 565039
w: http://www.galwaylibrary.ie 

Ta eolas ata prmobhaideach agus rznda sa rmomhphost seo 
agus aon iatan a ghabhann leis agus is leis an duine/na daoine
sin amhain a bhfuil siad seolta chucu a bhaineann siad. 
Mura seolam thz, nml tz zdaraithe an rmomhphost ns aon iatan 
a ghabhann leis a liamh, a chsipail na a zsaid. 
Ma ta an rmomhphost seo faighte agat trm dhearmad, 
cuir an seoltsir ar an eolas thrm aischur rmomhphoist 
agus scrios ansin i le do thoil. 

This e-mail and any attachment contains information which is 
private and confidential and is intended for the addressee 
only. If you are not an addressee, you are not authorised 
to read, copy or use the e-mail or any attachment. 
If you have received this e-mail in error, please notify 
the sender by return e-mail and then destroy it. 
XML4Lib mailing list
XML4Lib at webjunction.org

More information about the XML4Lib mailing list