PyXML - setContentHandler??

Randy Heiland heiland at ncsa.uiuc.edu
Fri Apr 25 13:40:24 CEST 2003


I'm using a chunk of code that does:

 >>> parser = xml.sax.make_parser()
<define a handler>
 >>> parser.setContentHandler(handler)

however, using PyXML, I get:
AttributeError: SAX_expat instance has no attribute 'setContentHandler'

Any advice welcome.  Thanks.
--Randy





More information about the Python-list mailing list