Re: DTD problem
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!
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format