handle <BR> tags
Carl Banks
imbosol at aerojockey.com
Thu Jul 31 19:17:47 EDT 2003
Luca Calderano wrote:
> Hi guys...
>
> I've done a subclass of SGMLParser
> to handle the contents of a web page,
> but i'm not able to handle the <BR> tag
>
> can someone help me???
I'm very familiar with sgmllib. Can you describe the problem you're
having?
If you are using <br> as a self-closing tag as is done in XHTML (i.e.,
<br/>), then this cannot be done with sgmllib. You should use
HTMLParser instead--only you might have to make some minor changes to
your code.
--
CARL BANKS
More information about the Python-list
mailing list