Re: [xsl] Solution: Passing Cookie Values From JavaScript To XSLT

Subject: Re: [xsl] Solution: Passing Cookie Values From JavaScript To XSLT
From: "Joris Gillis" <roac@xxxxxxxxxx>
Date: Wed, 07 Sep 2005 10:10:21 +0200
Hi,

Tempore 16:48:06, die 09/06/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Michael <msell@xxxxxxxxxxxxxxx>:

A long time ago I asked myself if it was possible to send JavaScript
cookie values to an XSL stylesheet, process that stylesheet, then
display the results in a standard web browser. I spent one and a half
months on this problem. One and a half months of grueling trial and
error. One and a half months of banging my head against various brick
walls. I sustained concussion, thankfully I also sustained a solution.

Thanks for sharing your knowledge with us. I've made very similar scripts for various problem and I tried to bundle them together in one generic and reusible script http://users.telenet.be/root-jg/f/javaScript/xsltransform.js. I didn't encouter so much difficulty though - or I'm lucky enough not to remember the pain I suffered;)


There are yet some optimizations that can improve your script; e.g. you don't need to load the XML over and over again; store it in a variable.

regards,
--
Joris Gillis (http://users.telenet.be/root-jg/me.html)
Gaudiam omnibus traderat W3C, nec vana fides

Current Thread