Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


I found the problem. Apparently used wrong xsl version.
Changed it to:
<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

All attributes values interpreted with {@AttributeName} format.



"Joris Gillis" <roac@p...> wrote in message 
news:opsj6ff0k3yf9v9r@n......
>> 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) 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent