Will xml.dom work with HTML docs?

Henrik Motakef henrik.motakef at web.de
Sun Sep 15 10:34:30 CEST 2002


"Robert Oschler" <Oschler at earthlink.net> writes:

> Will the xml document parser module work with plain old HTML docs, 

Only if they happen to be well-formed XML docs, which is unlikely.

> if not is there a good parser module for HTML docs?

See the htmllib module in the standard library.

hth
Henrik



More information about the Python-list mailing list