[
Lists Home |
Date Index |
Thread Index
]
If you're not tied to JAXP, then just use a DTD parser. For a list of
free parsers, see:
http://www.garshol.priv.no/download/xmltools/cat_ix.html#SC_DTDParser
-- Ron
Paul Johnston wrote:
>
> I am writing a simple XML retrieval tool, and I want to be able to find out from the XML documents associated DTD, which elements are allowed under a certain element.
>
> I am using Java, and can retrieve the "model" using JAXP's DeclHandler but it's just a string of text like (it's an example):
>
> (atag|btag*)+
>
> is there an available parser for this info? Having looked at the spec, I don't want to have to write my own if I don't have to!
- References:
- DTD problem
- From: "Paul Johnston" <pjohnston@pjnetsolutions.com>
|