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??
Log in to post a comment.