XML DTD parser

Ajay Gangwar majayg at iitk.ac.in
Tue Dec 8 10:57:43 GMT 1998


1. Can someone please point me to a XML DTD parser?

2. In my application I want to be able to open an instance of
    the document's DTD independently so that I can query it.
    For me queries like the following would be pertinent :
    -  What all elements are defined by the DTD?
    -  Can an element 'x' be inserted as the child of 'y'?
    -  What attributes are allowed by an element 'x'?
    -  etc ...
    Is there a way to do this using any SAX parser? If not
    how do I go about achieving this?

thanks,

- Ajay Gangwar
  majayg at iitk.ac.in


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list