Hello,
Im using dom4j version 3 together with jdk1.4.1b and tomcat 4.0.
e.g xalan,crimson
Somewhere in my xsl file I have following:
<xsl:text disable-output-escaping="yes"><![CDATA[ if (a< b) ..&&.
]]></xsl:text>
when I transform the cdata with dom4j i get this in the output document:
<?javax.xml.transform.disable-output-escaping ?>
lt;<;<?javax.xml.transform.enable-output-escaping ?>
java code is something like
DocumentSource source = new DocumentSource(document);
//String xsl = XSL_PATH + "/" + pipelineData.getView();
StreamSource streamSource = new StreamSource(xsl);
TransformerFactory factory = TransformerFactory.newInstance();
DocumentResult result = new DocumentResult();
try {
Transformer transformer =
factory.newTransformer(streamSource);
transformer.transform(source, result);
} catch (TransformerException e) {
}
any ideas?
regards john
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user