I am using the xml.sax package, and I'm running into a little
problem. When I use the parse(url, ContentHandler()) method, I don't
know what parse() is naming the instance of ContentHandler.
I have a sub-class of ContentHandler make a dictionary of what it
parses, but the problem is I don't know
Adam W. schrieb:
I am using the xml.sax package, and I'm running into a little
problem. When I use the parse(url, ContentHandler()) method, I don't
know what parse() is naming the instance of ContentHandler.
I have a sub-class of ContentHandler make a dictionary of what it
parses, but the
Adam W. [EMAIL PROTECTED] writes:
I am using the xml.sax package, and I'm running into a little
problem. When I use the parse(url, ContentHandler()) method, I don't
know what parse() is naming the instance of ContentHandler.
I'm not sure what you're asking. Why do you need to know the
On Feb 17, 6:12 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
It's a bit hard to get what you are after, but maybe this solves your
problem?
handler = FeedHandler()
parse(handler)
print handler.my_instance_variable_of_choice
The above assumes that my_instance_variable_of_choice is