[jdom-interest] instanceof Text and XMLOutputter request

Philip Nelson panmanphil at yahoo.com
Wed Apr 3 20:51:13 PST 2002

> (a) String outputElementContentAsString(Element e)

How about (and I am doing this from memory but...)

StringWriter sw = new StringWriter()
XMLOutputter out = new XMLOutputter(sw);
String whatYouWant = sw.toString();

Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

More information about the jdom-interest mailing list