[jdom-interest] How to omit the DOCTYPE declaration?

Jason Hunter jhunter at collab.net
Mon Jan 8 09:15:09 PST 2001


> OK, I've done, but nothing is changed.
> I've written this code:
> 'doc.setDocType(null);'
> Where doc is my document ...
> What I've wrong?

If the doctype is really null, there's no way the outputter could output
the old doctype since it wouldn't have access to it.  

-jh-



More information about the jdom-interest mailing list