SGMLParser questions

Martin v. Löwis martin at v.loewis.de
Wed Apr 23 01:38:55 EDT 2003


Tung Wai Yip <tungwaiyip at yahoo.com> writes:

> 2. Does it supports namespace?

No.

> 3. handle_starttag() turn tags into lower case. This work perfectly
> for HTML. But can it works case sensitively?

No.

To get these features, you could subclass SGMLParser. However, you
probably have to copy a lot of code into your subclass.

Regards,
Martin





More information about the Python-list mailing list