[jdom-interest] XSL and Javascript problem

Miguel Angel Medina Lopez mamedina at logic-factory.com
Fri Feb 1 03:05:51 PST 2002


Hi all:

I have a problem transforming a XML file to HTML using a XSL document when
HTML have javascript code. I use disable-output scaping like the next code:
<script language="JavaScript">
<xsl:text disable-output-escaping="yes"><![CDATA[
// Java script code
]]></xsl:text>
</script>
The problem is that the parser escape special chars in the javascript code
like &. Also the PI <?javax.xml.transform.disable-output-escaping?> appear
in the code. What's the matter?. Can I quit the PI?. How can I disable
escaping?
Thank you all.

-------------------------------------------------------------
Miguel Ángel Medina López
Logic Factory: www.logic-factory.com
Granada - España




More information about the jdom-interest mailing list