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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Parsing a DTD

[ Lists Home | Date Index | Thread Index ]
  • From: Robin LaFontaine <robin@monsell.co.uk>
  • To: XML-Dev <xml-dev@xml.org>
  • Date: Fri, 16 Jun 2000 09:55:35 +0100

I have been using the Lisp parser for DTD access successfully, e.g. 
to expand all the entities and re-print the DTD in its basic form, 
organised alphabetically and with all the attributes ordered. It 
makes it easier to see what is going on in a DTD that I have not seen 

Of course, XML Authority and the like are good for this too, and 
another approach is to use XML Authority to convert the DTD to XML 
Schema and then you have access to all the DTD, in another form, but 
you can access it as a standard XML document.


At 7:45 pm +0200 15/6/00, james anderson wrote:
>if you're willing to code in lisp, there's a parser which generates a
>model for parsed dtd's. this facility can be used with dtd's alone or in
>conjunction with documents. i've heard from someone using it to
>reserialize the schema dtd so it might be worth a try.
>Marcus Thuresson wrote:
> >
> > Hi,
> > does anyone how can to get access to the information in a DTD? What I want
> > to do is to use the information of the DTD in an algorithm where I need to
> > know which Elements that can appear as Children to another Element. Are
> > there any parsers that support this functionality?
> >
>This is xml-dev, the mailing list for XML developers.
>To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
>List archives are available at http://xml.org/archives/xml-dev/

-- -----------------------------------------------------------------
Robin La Fontaine, Monsell EDM Ltd
(R&D Project Management, Engineering Data Exchange using XML, EDIF)
Tel: +44 1684 592 144 Fax: +44 1684 594 504 or +44 870 054 2811
Email: robin@monsell.co.uk       http://www.monsell.co.uk

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


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

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