[jdom-interest] Entities and Doctype
Pim van Wetten
pvwetten at xs4all.nl
Fri Mar 9 00:18:34 PST 2001
Hi,
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">
]>
<BOOK>
<FILE>&Italian;</FILE>
<FILE>&Spanish;</FILE>
</BOOK>
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,
Pim
More information about the jdom-interest
mailing list