Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: xsl make >Thread Next - Re: xsl make > Values are not replaced and it returns
> <a href="../{@Dir}/{@Url}?id={@Id}">Air1>/a>
>
It returns <a href="../air/air.asp?id=23">Air1</a> with me.
If it does not work with you, it means that the 'href' attribute is not interpreted as an 'attribute value template' (http://www.w3.org/TR/xslt.html#dt-attribute-value-template) or that your XSLT processor fails to recognize the expression (between curly brackets)
In any case, this hould be a working equivalent:
<a>
<xsl:attribute name="href">
<xsl:text>../</xsl:text>
<xsl:value-of select="@Dir"/>
<xsl:text>/</xsl:text>
<xsl:value-of select="@Url"/>
<xsl:text>?id=</xsl:text>
<xsl:value-of select="@Id"/>
</xsl:attribute>
<xsl:value-of select="@Name"/>
</a>
--
Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
Veni, vidi, wiki (http://www.wikipedia.org)
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
