[jdom-interest] DTD parser

Elliotte Rusty Harold elharo at metalab.unc.edu
Tue Feb 3 07:14:15 PST 2004

At 2:55 PM +0100 2/3/04, J. Albers wrote:
>Hey all,
>Is there a DTD parser in JDOM, and if so, does someone have an example of
>some code how a DTD is written to a JTree? Right now i'm using another class
>for the DTD and it writes to the console, but i have very much trouble
>getting it right in a JTree. I'll show u some of the code.

JDOM parses the DTD when it reads the document (or really the 
underlying SAX parser does), but there's no public API exposing this.

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Effective XML (Addison-Wesley, 2003)

More information about the jdom-interest mailing list