How to convert org.jdom.Document to String
Question
How do I to convert an org.jdom.Document to a String in Java?
Solution
new XMLOutputter().outputString(doc);
OTHER TIPS
I got the answer myself
XMLOutputter xmOut = new XMLOutputter();
System.out.println("----" + xmOut.outputString(doc));
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow