How to convert org.jdom.Document to String
문제
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));
제휴하지 않습니다 StackOverflow