Suppose I have a String like this:
String from = "<time><day type="tt">ok</day><time>
Now what I would like to do is to create a XOM document and then return back something like:
String to = documentToString(document)
This string should have only <day type="tt">ok parsed</day>
, not with <time>..</time>
root element.
I have already created the XOM document but don't know what is the easy way to do the string-conversion part.