#16 add text without escaping or adding cdata section!?!

open
nobody
None
7
2012-10-08
2008-07-09
Christian Groth
No

Hi,

I want to add a String as text/content to an Element. If I use the addText() method my String gets escaped, so "

...

" becomes something like this "<p%gt;..".

Oh fine, I have to use addCDATA() method ... no I don't because this would make something like "<![CDATA[...myText...]]>".

I just want to add my String as body-content to an element wihout changing the string in whatever way. Is this possible??

using dom4j.1.6.1

regards, chris

Discussion

1 2 > >> (Page 1 of 2)
1 2 > >> (Page 1 of 2)