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?


Here's a link to the Xalan site which describes sample applications which
are delivered with the Xalan installation. After reading this and looking
at the samples which are in all likelihood installed on your system,
you should be able to do what you describe.

http://xml.apache.org/xalan-j/samples.html#usestylesheetparam

-- 
Charles Knell
cknell@onebox.com - email


---- "Clark, Jason" <jason.clark@tfn.com> wrote:
> 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
> 
>  

 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]