Don't forget the @ character (or $ if it refers to a variable)

<input type="radio" name="Project" value="{@projectName}"/>

Judith

> -----Ursprüngliche Nachricht-----
> Von:  Robert Koberg [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Freitag, 6. September 2002 13:02
> An:   [EMAIL PROTECTED]
> Betreff:      RE: Using parameters in a xsl
> 
> You can also write this more simply by using an 'attribute value template':
> 
> <input type="radio" name="Project" value="{projectName}"/>
> 
> best,
> -Rob
> 
> 
> > -----Original Message-----
> > From: Christian Haul [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, September 06, 2002 3:48 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Using parameters in a xsl
> > 
> > 
> > On 06.Sep.2002 -- 12:00 PM, Johannes Wechsler wrote:
> > > 
> > > <input type="radio" name="Project" value=<xsl:value-of
> > > select="projectName"/>/>
> > 
> > since Judith answered the first one, xsl has similar elements:
> > <xsl:attribute name="value"><xsl:value-of 
> > select="projectName"/></xsl:attribute>
> > 
> > Here projectName needs to be a nested tag to whatever is the current
> > context node.
> > 
> > You might want to have a look at the excellent tutorials and references
> > at www.zvon.org
> > 
> >     Chris.
> > -- 
> > C h r i s t i a n       H a u l
> > [EMAIL PROTECTED]
> >     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
> > 
> > ---------------------------------------------------------------------
> > 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]>
> 

---------------------------------------------------------------------
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