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

Parsing a DTD


parsing a dtd
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.