Re: [xsl] passing xsl:value-of to HREF

Subject: Re: [xsl] passing xsl:value-of to HREF
From: "Bruce McDougald" <bmcdougald@xxxxxxxxxxx>
Date: Mon, 6 Jan 2003 09:13:31 -0600
You can use xsl:attribute, I'm not sure if you need to use it for the "src"
attribute in your <IMG>, did'nt test it.

<tr>
<td align="right">
<a><xsl:attribute
name='href'>http://myserver.com:8881/sp/xmlReport?contentType=excel&amp;repo
rtType
=rates&amp;FUND=<xsl:value-of select="TIME_ZONE"></xsl:attribute>
<img src="/fd/images/bottom_nav_download.gif" width="157" height="21"
border="0"/></a></td></tr>

HTH


----- Original Message -----
From: "Lee, Insoo" <Insoo.Lee@xxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, January 06, 2003 7:45 AM
Subject: [xsl] passing xsl:value-of to HREF


>
>
>   Hi, in my XSL, I need to pass a value from XML to "href", but int
> complains about "<", how would handle this?
>   THanks
>                 <tr>
>                     <td align="right"><a
>
href="http://myserver.com:8881/sp/xmlReport?contentType=excel&amp;reportType
> =rates&amp;FUND=<xsl:value-of select="TIME_ZONE">"><img
> src="/fd/images/bottom_nav_download.gif" width="157" height="21"
> border="0"/></a></td>
>                 </tr>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread