Showing posts with label JDOM. Show all posts
Showing posts with label JDOM. Show all posts

July 4, 2012

JDOM Document to String

XMLOutputter outputter = new XMLOutputter(Format.getPrettyFormat());
String scenarioStr = outputter.outputString(jdomDoc);


Reference : http://cafeconleche.org/books/xmljava/chapters/ch14s04.html