I've never seen a stand-alond DTD parser; it's always been built into a
general XML parser. The problem is, there generally isn't an API to access
the DTD parser alone, and neither SAX nor DOM yet do a great job of
representing the DTD's contents.

Usual solution has been to construct a dummy document which references that
DTD, parse that, then use whatever API the parser does supply for the DTD
information.

DOM level 3's proposed "abstract schema" and "load/save" modules should
actually provide APIs for both sides of this -- when and where implemented.
Both are still under development.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to