[jdom-interest] DOMOutputter removes entities

Yoon, Joe jyoon at ets.org
Mon Jun 3 08:49:49 PDT 2002

Doing the following removes all the entities from the DOCTYPE declaration.

    public org.w3c.dom.Document convert(org.jdom.Document jdomDoc) throws
JDOMException, IOException {
        org.jdom.output.DOMOutputter outputter = new DOMOutputter();
        org.w3c.dom.Document domDoc = outputter.output(jdomDoc);
        return domDoc;

Any suggestions would be appreciated.

This e-mail and any files transmitted with it may contain privileged or 
confidential information. It is solely for use by the individual for whom 
it is intended, even if addressed incorrectly. If you received this e-mail 
in error, please notify the sender; do not disclose, copy, distribute, or 
take any action in reliance on the contents of this information; and delete 
it from your system. Any other use of this e-mail is prohibited. Thank you 
for your compliance.

More information about the jdom-interest mailing list