xsl-list
[Top] [All Lists]

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

2012-04-23 10:30:10
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(_at_)mulberrytech(_dot_)com
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
======================================================================

--~------------------------------------------------------------------
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>
--~--