[jdom-interest] Entities and Doctype

Pim van Wetten pvwetten at xs4all.nl
Fri Mar 9 00:18:34 PST 2001


I'm trying to get the following done:

<!DOCTYPE BOOK SYSTEM "C:\\Temp\\test.dtd" [

<!ENTITY Italian  SYSTEM " c:\\TEMP\\italianLanguage.xml">

<!ENTITY Spanish SYSTEM " c:\\TEMP\\spanishLanguage.xml">






I've succeeded to add an entity like "&Italian;" by creating an Entity and
addContent to an element with the Entity. I also have managed to add the
doctype with a reference to a dtd, but I haven't succeeded in adding the
Entity lines in the doctype declaration. Any suggestions?

Tanx in advance,


More information about the jdom-interest mailing list