OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Parsing a DTD

[ Lists Home | Date Index | Thread Index ]

Hi,
I would like to parse/process a DTD in order to extract, for each element, a list of available/valid child elements and attributes.
I've been looking through the MSXML4.0 reference and can't see anything that looks like it would help. I've also spent several hours searching the web looking for example code and tools, but no joy.
The DTD in question (at the moment anyway) is DocBook, but I want something generic. DocBook seems to use quite a few seperate files for the DTD, so I'd need to be able to handle this.
 
Any suggestions for code or tools, or pointers in the right direction or even alternative methods would be greatly appreciated.
 
Thanks in advance.
Terry Chilvers




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS