![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - Re: Making dynamic href's in XSL RE: Making dynamic href's in XSLTo: Date: 6/1/2000 10:29:00 AM > I'm trying to build a dynamic href like this:
> <xsl:if test="num_active_tasks>0"><a
> href="show_tasks.jsp?pcode=<xsl:value-of select="site_code"
> />project_number=<xsl:value-of select="number"
> />"><xsl:value-of
> select="number" /></a>
>
Others have suggested using <xsl:attribute>. Another solution is to use
attribute value templates:
<xsl:if test="num_active_tasks>0">
<a href="show_tasks.jsp?pcode={site_code}&project_number={number}">
<xsl:value-of select="number" />
</a>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||
|
