[jdom-interest] XMLOutputter escaping content in CDATA section

Jeff Pennal jeffp at openroad.ca
Fri Oct 26 14:38:46 PDT 2001

Hello all,

I have the following XML/XSL code (as an example):

        <![CDATA[<td>some content</td>]]>

being transformed by the XSL file

<xsl:value-of disable-output-escaping="yes" select="//content/body"/>

For the returned JDOM document, I need the HTML content (it is not always well-formed) to be output without escaping the tags in the CDATA section. However, XMLOutputter is always taking the tags and converting them to &gt; and &lt;

Is there a way around this problem?


Jeff Pennal                             p:604-694-0554(x107)
Software Developer                  f:604-694-0558
Openroad Communications      e:jeffp at openroad.ca
Vancouver, BC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20011026/b7713914/attachment.htm

More information about the jdom-interest mailing list