title: Remove parent tag (without removing children) with ElementTree
body: <p>I'm using <code>ElementTree</code> to modify the following xml:</p>
  
  <pre><code>&lt;li&gt;
    &lt;p&gt;Some stuff goes in &lt;b&gt;bold&lt;/b&gt; here &lt;/p&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>I would like to remove all <code>&lt;p&gt;</code> from my <code>&lt;li&gt;</code> elements but keep the contents. </p>
  
  <p>Like this:</p>
  
  <pre><code>&lt;li&gt;Some stuff goes in &lt;b&gt;bold&lt;/b&gt; here&lt;/li&gt;
  </code></pre>
  
  <p>I am currently using the following code, which works in simple cases (no text/tail, etc....):</p>
  
  <pre><code># strip &lt;p&gt; from &lt;li&gt; elements
  liElements = rootNode.findall('.//li')
  for elem in liElements:
      para = elem.find(".//p")
      for child in para:
          elem.append(child)
      elem.text = para.text
      elem.remove(para)
  </code></pre>
  
  <p>There must an easier way to just strip a formatting tag.... I hope?</p>