title: Remove a specific xml tag with ElementTree in python
body: <p>I am searching for a way to remove a specific tag <code>&lt;e&gt;</code> that has value as <code>mmm</code> within <code>xml</code> file (i.e <code>&lt;e&gt;mmm&lt;/e&gt;</code>. I am referring to this thread as staring guide: <a href="https://stackoverflow.com/questions/3593204/how-to-remove-elements-from-xml-using-python">How to remove elements from XML using Python</a> without using <code>lxml</code> library instead of using <code>ElementTree</code> with <code>python v2.6.6</code>. I was trying to connect a dot with the thread and reading upon <code>ElementTree api</code> doc but I haven't been successful. </p>
  
  <p>I appreciate your advice and thought on this.</p>
  
  <pre><code>&lt;?xml version='1.0' encoding='UTF-8'?&gt;
  &lt;parent&gt;
     &lt;first&gt;
       &lt;a&gt;123&lt;/a&gt;                              
       &lt;c&gt;987&lt;/c&gt;
         &lt;d&gt;
           &lt;e&gt;mmm&lt;/e&gt;
           &lt;e&gt;yyy&lt;/e&gt;           
         &lt;/d&gt;         
     &lt;/first&gt;
     &lt;second&gt;
       &lt;a&gt;456&lt;/a&gt;                      
       &lt;c&gt;345&lt;/c&gt;
         &lt;d&gt;
           &lt;e&gt;mmm&lt;/e&gt;
           &lt;e&gt;hhh&lt;/e&gt;            
         &lt;/d&gt;
     &lt;/second&gt;
   &lt;/parent&gt;
  </code></pre>