[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Output < and > in the attribute from the style sheet
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 23 Apr 2012 16:16:27 +0100
This would be a modified identity transformation something like this:

<xsl:template match="@conf">
<xsl:attribute name="conf">
<xsl:value-of select="." disable-output-escaping="yes"/>
</xsl:attribute>
</xsl:template>


Unfortunately, for reasons I have never fully understood, disable-output-escaping is ignored in the case of attribute nodes.

Michael Kay
Saxonica

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member