[jdom-interest] How to write/read CDATA section using JDOM

Aspi Siganporia aspicool at yahoo.com
Fri Oct 20 09:38:18 PDT 2000


How can one add CDATA section to a JDOM Element? I could not find any reference to it in Beta4 javadocs.

I am using XML to transfer large files and would like to escape the file contents using CDATA section. Otherwise, passing them as simple content for an element creates problems when the file has any special characters.


More information about the jdom-interest mailing list