title: XML parser returns NoneType
body: <p>I am trying to parse below XML format using the ElementTree XML in Python, but I get "member" as None, when I use <code>.text</code> it gives attribute error</p>
  
  <pre><code>&lt;address-group&gt;
    &lt;entry name="TBR"&gt;
      &lt;static&gt;
        &lt;member&gt;TBR1-1.1.1.1_21&lt;/member&gt;
         &lt;member&gt;TBR2-2.2.2.2_24&lt;/member&gt;
        &lt;member&gt;TBR3-3.3.3.3_21&lt;/member&gt;
        &lt;member&gt;TBR4-4.4.4.4_24&lt;/member&gt;
      &lt;/static&gt;
     &lt;/entry&gt;
  &lt;address-group&gt;
  </code></pre>
  
  <p>Here is my code:</p>
  
  <pre><code>import xml.etree.ElementTree as ET
  
  tree = ET.parse("addrgrp.xml")
  root = tree.getroot()
  tag = root.tag
  print (tag)
  attr = root.attrib
  
  for entries in root.findall("entry"):
      name = entries.get('name')
      print (name)
      ip = entries.find('static')
      print (ip)
      for mem in ip.findall('member'):
          member = mem.find('member')
          print (member)
  </code></pre>