title: Want to remove all children when removing an element with lxml
body: <p>Can't seem to figure out how to remove the element 'framelineName' and all the sub-elements attached to it. Bottom area in the else statement will only delete the element framelineName.  I want to also delete 'line', 'left', and 'right'.</p>
  
  <pre><code>#!/usr/bin/env python
  # -*- coding: utf-8 -*-
  
  from lxml import etree as ET
  
  
  def cash_rules_everything_around_me():
      shaolin = ET.SubElement(root, "Shaolin")
      wtClan = ET.SubElement(root, "wtClan")
      wtClan.set('StatenIsland', 'NYC')
      RZA = ET.SubElement(shaolin, "RZA")
      RZA.set('StatenIsland', 'NYC')
      gf = ET.SubElement(RZA, "GhostfaceKillah")
      rk = ET.SubElement(RZA, "Raekwon")
      wutang = "36 chambers"
  
      for wu in wutang:
          if wu != "36 chambers":
              wtClan.text = "A Tribe Called Quest"
  
          else:
              for w in root.xpath("//wtClan [@StatenIsland=\'NYC']"):
              w.getparent().remove(w)
              tree = ET.ElementTree(root)
              tree.write("wutang.xml", pretty_print=True, xml_declaration=True, encoding='UTF-8')
  
  
  if __name__ == '__main__':
      root = ET.Element("HipHop")
      cash_rules_everything_around_me()
  </code></pre>