I am using Jdom's XSLTransformer class to transform one xml file to another. The output file should have all character data enclosed in cdata section. I use <xsl:output method="xml" indent="yes" cdata-section-elements="value"/> in my xsl stylesheet. When I do a regular command line transform using xalan 2.7.0 I get the desired output.
java org.apache.xalan.xslt.Process -IN input.xml -XSL sheet.xsl -OUT out.xml However, when I perform a transformation inside Java code, my <value> element doesn't have the text enclosed in cdata-section. Any ideas why is this happening? Thanks!!! -- View this message in context: http://www.nabble.com/xsl-transform-with-cdata-section-elements-tf2755890.html#a7685023 Sent from the Xalan - J - Users mailing list archive at Nabble.com.