evilthoutz
New Member
What's the simplest way to get the String representation of a XML Document (\[code\]org.w3c.dom.Document\[/code\])? That is all nodes will be on a single line.As an example, from\[code\]<root> <a>trge</a> <b>156</b></root>\[/code\](this is only a tree representation, in my code it's a \[code\]org.w3c.dom.Document\[/code\] object, so I can't treat it as a String)to\[code\]"<root> <a>trge</a> <b>156</b> </root>"\[/code\]Thanks!