[jdom-interest] setOmitDeclaration(false) doesen't work

Steven Shand devel at intrallect.com
Fri Feb 6 08:20:24 PST 2004


> I want to omit <?xml version="1.0" encoding="UTF-8"?> from the ouputter

<snip/>

> outputter.setOmitDeclaration(false );
> outputter.setOmitEncoding(false);

erm.. how about setOmitDeclaration(true) since you want to omit it?

am I missing something? :-)

Steven.




More information about the jdom-interest mailing list