Parsing a DTD for information

Abhishek Srivastava abisheks at
Fri Dec 10 17:32:54 GMT 1999


Is there an XML parser that will allow me to parse just a DTD.

Suppose the following is my DTD
<!ELEMENT (name+,lastname+)>

My application needs to know that it can have a list of names and a list of lastnames.

Most parsers give me the data inside the elements/attributes . .. however, do not
allow to access the grammar associated with the elements/attributes  in the DTD.

    _/               Abhishek Srivastava
   _/                Hewlett Packard ISO       
  _/_/_/   _/_/_/    -------------------   
 _/    /   _/   _/     (Work)   +91-80-2251554 x1190
_/  _/   _/_/_/      (Ip)            
        _/           (Url)                        
                     Work like you don't need the money.
                     Dance like no one is watching.
                     And love like you've never been hurt.
                     --Mark Twain                       

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Xml-dev mailing list