Parsing SGML given DTD using python

John J. Lee jjl at
Tue Jul 20 17:05:18 EDT 2004

Martin Krallinger <martink at> writes:

> I wonder whether there is some sample code or
> module to parse SGML files in python given the
> DTD.

SGML is a bit esoteric these days.  You might have better luck
searching if you look for libraries written in C, C++, Java, etc., and
then use those libraries from Python (use Jython for Java code; write
a wrapper or find a pre-existing wrapper for C/C++).



More information about the Python-list mailing list