title: Reading XML file and fetching its attributes value in Python
body: <p>I have this XML file:</p>
  
  <pre><code>&lt;domain type='kmc' id='007'&gt;
    &lt;name&gt;virtual bug&lt;/name&gt;
    &lt;uuid&gt;66523dfdf555dfd&lt;/uuid&gt;
    &lt;os&gt;
      &lt;type arch='xintel' machine='ubuntu'&gt;hvm&lt;/type&gt;
      &lt;boot dev='hd'/&gt;
      &lt;boot dev='cdrom'/&gt;
    &lt;/os&gt;
    &lt;memory unit='KiB'&gt;524288&lt;/memory&gt;
    &lt;currentMemory unit='KiB'&gt;270336&lt;/currentMemory&gt;
    &lt;vcpu placement='static'&gt;10&lt;/vcpu&gt;
  </code></pre>
  
  <p>Now, I want parse this and fetch its attribute value. For instance, I want to fetch the <code>uuid</code> field. So what should be the proper method to fetch it, in Python?</p>