Lets say I have the following code snippet below, how do I also apply the disable-output-escaping to the {name} in the title attribute?
<a title="{name}"><xsl:value-of select="name" disable-output-escaping="yes" /></a>
This has really got me stumped.
Thanks guys.
Best Answer
This cannot be done with XSLT. The spec says:
Thus it makes no difference if you use Attribute Value Templates or
xsl:attribute
withxsl:value-of
, because you're generating an attribute node, not a text node. It's a limitation in the language.