disable-output-escaping 'mess'

Subject: disable-output-escaping 'mess'
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Tue, 28 Mar 2000 14:55:59 +0100
The Duxbury braille translator can import XML files,
however :-) to bring the internal 'styles' into play,
the effect is to, for instance, require that
a running header is 'marked' as <?$tls`> content<?$tle`>

(You guessed it).
using <xsl:output method="xml">
If I use 
<xsl:text disable-output-escaping><?$tls`></text>

xt and Saxon (quite reasonably?) complain.

so I end up with 

 <xsl:text disable-output-escaping="yes"> <![CDATA[<?$tls`>]]>
</xsl:text><xsl:value-of select="."/>
 <xsl:text disable-output-escaping="yes"> <![CDATA[<?$tle`>]]> </xsl:text>

simply to get the < instead of &lt; 

============================

Minor aside, whats the logic in not permitting me to output
tags when I set xsl:output method="text"?
If I'm dealing in plain text, surely left angle bracket is as good as any
other character?
   In delicious ignorance, DaveP






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread