Will xml.dom work with HTML docs?
henrik.motakef at web.de
Sun Sep 15 14:25:05 EDT 2002
loewis at informatik.hu-berlin.de (Martin v. Löwis) writes:
> Alternatively, see PyXML. It parses an HTML document into a DOM
> tree. It does so by knowing the HTML DTD, ie. it silently inserts
> missing closing tags whereever needed.
Does it do so by using an actual DTD, or is HTML-specific knowledge
hardcoded in it?
I.e. could this feature be used with other document types?
More information about the Python-list