Re: [dom4j-user] Writing CDATA with XMLWriter

2005-09-26 Thread Edwin Dankert
> Or is it possible to add an Element to my document which is a String > with Tags without the surounding CDATA-Tag? If I understand you correctly ... you seem to want to add text to the document however this text should be treated as markup information when serialised. No, this is not supported.

[dom4j-user] Writing CDATA with XMLWriter

2005-09-25 Thread udokrass
Hi, is it possible to write CDATA-Sections with the XMLWriter instead of the HTMLWriter without the CDATA-Tags? I will write plain XHTML-Files, but without CDATA-Tags. In the Javadoc about the class HTMLWriter there is following comment: If isXHTML == true, CDATA sections look like this: O