[jdom-interest] How to omit the DOCTYPE declaration?
jhunter at collab.net
Fri Jan 5 12:03:44 PST 2001
Alessandro Marcellini wrote:
> I'm using JDOM-b5 on jdk1.1.8, to produce a Log File.
> I don't need a DOCTYPE Declaration, but I see that
> when I create my document a DOCTYPE declaration
> is automatically added (<!DOCTYPE XLog:log>). How can I avoid this
Set the doc type to null, and it won't output.
Meanwhile, who's setting it to something other than null?
More information about the jdom-interest