This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Change values with http params?
- From: "Clark, Jason" <jason dot clark at tfn dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 26 Jun 2002 16:11:46 -0400
- Subject: RE: [xsl] Change values with http params?
- Reply-to: xsl-list at lists dot mulberrytech dot com
Try using <xsl:param name="bgcolor">
In your xsl file you can use <xsl:value-of select="$bgcolor" />
-----Original Message-----
From: Scott Purcell [mailto:spurcell@vertisinc.com]
Sent: Wednesday, June 26, 2002 4:01 PM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] Change values with http params?
Is it possible to change values in a xsl file using a http querystring with
values?
eg something like this:
<bgcolor>$red</bgcolor>
Then have a querystring from a http submit that has
"?bgcolor=red&fgcolor=blue"
I somehow needto make dynamic variables and then transform the xml and xsl
using xalan.
Thanks,
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list