xsl-list
[Top] [All Lists]

Re: passing xsl:value-of to HREF

2003-01-06 08:13:31
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(_dot_)Lee(_at_)gs(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
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