[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Output < and > in the attribute from the style sheet


Subject: Re: [xsl] 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