[XML-SIG] Parsing DTD

Alexandre Fayolle Alexandre.Fayolle@logilab.fr
Tue, 17 Jul 2001 08:40:53 +0200 (CEST)


On Mon, 16 Jul 2001, Philip King wrote:

> Here is my dilemna: I cannot figure the hoops one must just through in
> order to have a parser (either Expat, xmlproc, xmllib, etc...) to read
> and parse a DTD.  They all seem to choke with a syntax error...

You want to use xmlproc's DTD parser. For an example, you may want to
check xmltools (http://www.logilab.org/xmltools/), since xmleditor uses
the DTD parser to get the valid elements. And of course, you should give a
look at the full blown documentation which is available on Lars Marius
Garshol's xmlproc page
(http://www.garshol.priv.no/download/software/xmlproc/)

Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).