RE: SAX, DTDs, parsing...
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...)
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format