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:[EMAIL PROTECTED]]
> Gesendet am:  Freitag, 6. September 2002 12:00
> An:   [EMAIL PROTECTED]
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to