Hello, I'm transforming a DOM document to XML in java using javax.xml APIs. The result is
<tag>
<tag2>text</tag2>
</tag>
but I need it to be
<tag>
<tag2>
text
</tag2>
</tag>
Are there any options to do that with text child nodes? I didn't find any