xsl-list
[Top] [All Lists]

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

2012-04-23 10:16:51


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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--