469,349 Members | 1,699 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,349 developers. It's quick & easy.

XML

Hello,

I'am trying to parse an XML file using sax and Python 2.3 on windows

class FindIssue(saxutils.DefaultHandler):
AttributeError: 'module' object has no attribute 'DefaultHandler'

Doesn't DefaultHandler makes part of saxutils ?

Thank you for your responses

Salvatore

Jul 18 '05 #1
1 2187
Salvatore wrote:
I'am trying to parse an XML file using sax and Python 2.3 on windows

class FindIssue(saxutils.DefaultHandler):
AttributeError: 'module' object has no attribute 'DefaultHandler'

Doesn't DefaultHandler makes part of saxutils ?


Evidently not. Why did you think it would? See
http://www.python.org/doc/current/li....saxutils.html
Perhaps you were thinking of this one instead?

http://www.python.org/doc/current/li...r-objects.html

-Peter
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by William C. White | last post: by
2 posts views Thread by Albert Ahtenberg | last post: by
3 posts views Thread by James | last post: by
reply views Thread by Ollivier Robert | last post: by
1 post views Thread by Richard Galli | last post: by
4 posts views Thread by Albert Ahtenberg | last post: by
1 post views Thread by inderjit S Gabrie | last post: by
2 posts views Thread by Jack | last post: by
3 posts views Thread by Sandwick | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.