I have created Text object using the org.w3c.dom.Text. After appending to the Document object, special characters such as <>"' will be translated into &lt; &gt; etc. Is there any way to escape the special characters? So I can get <> instead of &lt; &gt;

Thanks