cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andres, Judith" <Judith.And...@rauser-ag.com>
Subject AW: Using parameters in a xsl
Date Fri, 06 Sep 2002 10:02:29 GMT
Hi Johannes,

you should use the following syntax which is correct xml:

<input type="radio" name="Project">
  <xsp:attribute name="value"><xsp-request:get-parameter name="ProjectName"/></xsp:attribute>
</input>

Judith

> -----Urspr√ľngliche Nachricht-----
> Von:	Johannes Wechsler [SMTP:johannes.wechsler.external@mchp.siemens.de]
> Gesendet am:	Freitag, 6. September 2002 12:00
> An:	cocoon-users@xml.apache.org
> Betreff:	Using parameters in a xsl
> 
> Hi,
> 
> I have a radiobutton and want to give its "value"-parameter a dynamic value.
> My radiobutton in the xsl looks like this:
> <input type="radio" name="Project" value=""/>
> 
> I want to use a dynamic value for the "value"-parameter.
> 
> For example:
> <input type="radio" name="Project" value=<xsp-request:get-parameter
> name="ProjectName"/>/>
> 
> or
> 
> <input type="radio" name="Project" value=<xsl:value-of
> select="projectName"/>/>
> 
> Using this syntax I get the message: "The file is not well-formed." or
> messages like "Open quote is expected for attribute "value|".
> 
> Is there any possibility to set the "value"-parameter dynamically?
> 
> Regards,
> Johannes
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message