title: Using ElementTree to parse an XML string with a namespace
body: <p>I have Googled my pants off to no avail.  What I am trying to do is very simple:  I'd like to access the UniqueID value in the following XML contained in a string using ElementTree.  </p>
  
  <pre><code>from xml.etree.ElementTree import fromstring
  
  xml_string = """&lt;ListObjectsResponse xmlns='http://www.example.com/dir/'&gt;
          &lt;Item&gt;
                  &lt;UniqueID&gt;abcdefghijklmnopqrstuvwxyz0123456789&lt;/UniqueID&gt;
          &lt;/Item&gt;
  &lt;/ListObjectsResponse&gt;"""
  
  NS = "http://www.example.com/dir/"
  
  tree = fromstring(xml_string)
  </code></pre>
  
  <p>I know that I should use the <code>fromstring</code> method to parse the XML string, but I can't seem to identify how to access the UniqueID.  I'm not certain how to use the <code>find</code>, <code>findall</code>, or <code>findtext</code> methods with respect to the namespace.</p>
  
  <p>Any help is totally appreciated.</p>