[jdom-interest] Help with <xsl:text disable-output-escaping="yes">

Emmett McLean emmettwa at onebox.com
Mon Sep 9 15:05:53 PDT 2002


Hi,

It appears what disable-output-escaping works in xalan
but not in JDOM. I wonder you know of a way to enable it?

I have an XSLT which works fine with an XML file if I
do the transformation on the command line using xalan.

However, when I do the transform in JDOM the following code
which works OK in xalan ...

<xsl:text disable-output-escaping="yes">
<![CDATA[
<style type="text/css">
<!--
body { font-family: Arial, Verdana, sans-serif; background-color: #FFFFFF}
-->
</style>
]]>
</xsl:text>

Gets rendered in JDOM as ...

<?javax.xml.transform.disable-output-escaping?>

&lt;style type="text/css"&gt;
&lt;!--
body { font-family: Arial, Verdana, sans-serif; background-color: #FFFFFF}
--&gt;
&lt;/style&gt;


In otherwords the disable-output-escaping tag fails.

I can email both the xsl and xml if someone would like to experiment.

Thanks,

em
 



More information about the jdom-interest mailing list