[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: DTD problem

dtd problem
> Actually DeclHandler is a SAX2 class, not a JAXP class.
> Any layered SAX2 validator will parse those strings, like

Not quite sure what you mean...

You create a GUI to generate and XML document.
You are not sure of the DTD, so you parse it and retrieve all of the info you need.


you click on an element, and are unsure what elements you can have beneath it...


you need to be able to parse the "model" retrieved by the SAX2 class DeclHandler's elementDecl(String name, String model) to find out precisely what elements can be sub-elements of the current element.

The model can be quite complex (have a look at the spec) so, is there a parser for the model, NOT a parser for the DTD (that's quite easy really) to tell me what elements can be underneath the current element (or do I have to write one).

A simple yes will do, BUT please give examples if you can!



Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.