This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

disable-output-escaping 'mess'


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]