# HG changeset patch # User paulb # Date 1129655453 0 # Node ID c7eca12ff1e68eb822adf0dd817017dea170d1f3 # Parent da9cca2bb9dc66883febb2b221a9a6db8f4e3ca0 [project @ 2005-10-18 17:10:53 by paulb] Added information about parseURI and HTML. diff -r da9cca2bb9dc -r c7eca12ff1e6 libxml2dom/__init__.py --- a/libxml2dom/__init__.py Fri Oct 14 13:47:44 2005 +0000 +++ b/libxml2dom/__init__.py Tue Oct 18 17:10:53 2005 +0000 @@ -426,6 +426,9 @@ Parse the content found at the given 'uri'. If the optional 'html' parameter is set to a true value, the content to be parsed will be treated as being HTML rather than XML. + NOTE: The parseURI does not currently work with HTML. Use parse with a + NOTE: stream object instead; for example: + NOTE: d = parse(urllib.urlopen("http://www.python.org"), html=1) A document object is returned by this function. """