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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] DTD parser

[ Lists Home | Date Index | Thread Index ]


If I understand you correctly, you'd probably be much better off using tools
that permit generating XML "templates" from DTDs, rather than writing your
own DTD parser. Three tools that come to mind are: TurboXML [1], XMLSpy [2],
and IBM XML Generator [3]. The first 2 are high quality commercial tools,
always being improved. The 3rd is freeware and allows for randomization of
instance generation. All three are discussed in my recent book [4].

OTOH, if you *really* want to do the DTD parsing yourself (i.e., for job
security ;-), you might download any XML parser that includes source code in
your favorite language and see how they do it. Apache Xalan (Java or C++)
might be something to look at. [5]. For other free tools including those in
Perl and Python, see "Free XML  tools and software" [6].

-Ken Sall

[1] http://www.tibco.com/solutions/products/extensibility/turbo_xml.jsp
[2] http://xmlspy.com/
[3] http://alphaworks.ibm.com/tech/xmlgenerator
[4] XML Family of Specifications: A Practical Guide,
[5] http://xml.apache.org/
[6] http://www.garshol.priv.no/download/xmltools/

----- Original Message -----
From: Garland foster
To: xml-dev@lists.xml.org
Sent: Tuesday, July 09, 2002 4:25 PM
Subject: [xml-dev] DTD parser


I'm trying to find a document or some kind of howto about DTD parsing, how
to parse a DTD according to the XML 1.0
spec and then do something with it....
Why? Because I'll nedd to parse DTDs in order to write templates for XML
documents to-be-completed
If someone has good pointers, references or papers I'd appreciate it.


  • References:
    • DTD parser
      • From: "Garland foster" <garland_foster@salutia.com>


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

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