How do I to convert an org.jdom.Document to a String in Java?
new XMLOutputter().outputString(doc);
I got the answer myself
XMLOutputter xmOut = new XMLOutputter(); System.out.println("----" + xmOut.outputString(doc));