Hi,
I'm using javax.xml.transform.Transformer
class to transform the DOM source into XML string. I have some empty elements in DOM tree, and these become one tag which I don't want.
How do I prevent <sampletag></sampletag>
from becoming <sampletag/>
?