"<!" in SGMLParser - an error ?
Amit Weisman
weismann at netvision.net.il
Wed Nov 7 02:58:36 EST 2001
I wasn't clear enougth .
I know one should declare functions as
def do_TAGNAME
def start_TAGNAME
def end_TAGNAME
How do I declare function for the "<!. ... " tag ?
Python wouldn't accept def start_! ......
TIA
Amit
----- Original Message -----
From: "Fredrik Lundh" <fredrik at pythonware.com>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Tuesday, November 06, 2001 10:49 PM
Subject: Re: "<!" in SGMLParser - an error ?
> Amit Weisman wrote:
> > When parsing an HTML page with SGMLParser ' I get an
> > error when then parser meets a ! tag ('<!') . Why ?
>
> something like this?
>
> SomeError: here's an error
>
> or did Python perhaps give you a more specific error
> message?
>
> </F>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
More information about the Python-list
mailing list