Suppose I have a String like this
String from = "<time><day type="tt">ok</day><time>
Now what I would like to do is, create a XOM document and then retrun 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 documnet but don't know what is the easy way to do the convert string part.
Thnaks.