[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: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 23 Apr 2012 11:30:00 -0400

How sad! (Not that we should be using it at all.)

On 4/23/2012 11:16 AM, Michael Kay wrote:
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.

-- ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================


Current Thread
Keywords
xml