My problem is that I want to add some text which contains markup to a node in the document. Now this marked up text should be converted and merged with the tree structure of the document. I know such a thing is possible in xslt via disable output escaping but i'm not using stylesheets. I need to do this in Xerces
java.
eg - if i add "<first>text1</first><last>text2</last>" as simple text then i need t create 2 nodes as first and last.