This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Change values with http params?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]