Is there a Python equivalent to PHPs loadXML()?
<p>In PHP, I can use:</p>

<pre><code>$doc = new DomDocument();
@$doc-&gt;loadXML($htmlData);
</code></pre>

<p>to convert a string of HTML data to a DOM document object. Is there an equivalent way to do this in Python?</p>
