[jdom-interest] Suppressing whitespace within XMLOutputter.output

Owens, Matthew J matthew.owens at gs.com
Wed Aug 9 01:39:12 PDT 2000


Does anyone have any ideas how to make JDOM suppress newlines and additional
whitespace when using the XMLOutputter.output method.

I've tried instantiating the XMLOutputter object using the following

XMLOutputter( "", false);	// indent level, newlines flag

but it still proceeds to insert newlines.

Any ideas ?



More information about the jdom-interest mailing list