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

RE: SAX, DTDs, parsing...

  • From: "Joel Riedesel" <jriedese@j...>
  • To: "'Ron Bourret'" <rbourret@d...>, <xml-dev@i...>
  • Date: Thu, 14 May 1998 09:35:10 -0600

get dtd from xml

I didn't find it that simple to get at the DTD data.
And, it appeared to me that the regular expression parts of DTD elements
weren't really accessible in any clean API fashion.

Yes, I can muck with the source, but I'd rather not; especially
since I thought I've seen reports of bugginess on the part of
MSXML - I don't want to have to start maintaining it in order
to do what I want to do.

Ideally, I'd like to throw a DTD file at a validating XML parser,
in addition to a normal XML file which references an external
DTD; and in both cases, get details of the DTD out of the parser.
(Lots and lots of details!)

I also noticed, that with MSXML, if the DTD is external to the XML;
you can't get to the DTD elements from the parsed document.  That 'node'
isn't available to them main tree once parsing is done.  I found that
to be a bit annoying too.

> MSXML is a validating parser written in Java.  You can get at 
> the DTD, but only 
> as XML-Data elements.  Of course, they ship the code, so you 
> could probably go 
> straight to their internal structures.
> -- Ron Bourret

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


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.