PyXML - setContentHandler??
"Martin v. Löwis"
martin at v.loewis.de
Fri Apr 25 13:12:25 EDT 2003
Randy Heiland wrote:
> >>> xml.sax.__file__
> '/usr/local/lib/python2.3/site-packages/_xmlplus/sax/__init__.pyc'
> >>>
> >>> parser.__class__.__module__
> 'xml.sax.drivers.drv_pyexpat'
Wow. That looks like a *very* old PyXML installation to me. These days,
you should always get stuff from xml.sax.drivers2.
This is a SAX1 class, so it has setDocumentHandler instead of
setContentHandler.
Regards,
Martin
More information about the Python-list
mailing list