Parsing SGML given DTD using python
John J. Lee
jjl at pobox.com
Tue Jul 20 17:05:18 EDT 2004
Martin Krallinger <martink at gredos.cnb.uam.es> 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++).
HTH
John
More information about the Python-list
mailing list