Subject: RE: [xsl] Change values with http params? From: "Charles Knell" <cknell@xxxxxxxxxx> Date: Wed, 26 Jun 2002 14:13:28 -0700 |
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@xxxxxxxxxx - email ---- "Clark, Jason" <jason.clark@xxxxxxx> 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@xxxxxxxxxxxxx] > Sent: Wednesday, June 26, 2002 4:01 PM > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Change values with http p, Clark, Jason | Thread | [xsl] output XHTML header, Ingo Weiss |
Re: [xsl] Refactoring advice?, Mike Brown | Date | [xsl] XML Differences, Carlos Sanchez |
Month |