[jdom-interest] XML formatting and java class hierarchy

Jason Hunter jhunter at collab.net
Fri Mar 30 10:31:35 PST 2001

Ludvig Omholt wrote:
> > The correct class to try and do the change you are trying is not in any case
> > CDATA, you should be subclassing XMLOutputter. You want the out put changed
> > (XMLOutputter), not the underlying CDATA model.
> Aah, ofcourse! That's the way to do it. Thanks!

Yep, write a NoCdataXMLOutputter extends XMLOutputter and override the

protected void printCDATASection(CDATA cdata, Writer out)


More information about the jdom-interest mailing list