cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Koberg" <...@koberg.com>
Subject RE: Using parameters in a xsl
Date Fri, 06 Sep 2002 11:01:34 GMT
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:haul@dvs1.informatik.tu-darmstadt.de]
> Sent: Friday, September 06, 2002 3:48 AM
> To: cocoon-users@xml.apache.org
> 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
> haul@informatik.tu-darmstadt.de
>     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:     <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