cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David J. Manura" <d...@Lehigh.EDU>
Subject Re: question about XSL
Date Mon, 04 Sep 2000 18:07:19 GMT
Use the <xsl:attribute> tag:

<xsl:template match="STOCKS/ROWSET/ROW">
  <A>
    <xsl:attribute name="href">stockInfo.xml?symbol=<xsl:value-of
    select="SYMBOL"/></xsl:attribute>
    <xsl:value-of select="SYMBOL"/>
  </A>;
</xsl:template>

> Would anbody know on top of their head ho to write
> this properly?!  I need to specify a value of the node
> inside my href parameter string:
> 
>   <xsl:template match="STOCKS/ROWSET/ROW">
>     <A href="stockInfo.xml?symbol=<xsl:value-of
> select="SYMBOL"/>><xsl:value-of select="SYMBOL"/></A>;
>   </xsl:template>
> 
> I know why it doesn't work, but have no idea how to
> solve it.
> 
> Cheers
> Drasko
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
> 
> ---------------------------------------------------------------------
> 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