title: parse fields of xml output in order to get text of elements
body: <p>I wrote a simple function to parse some fields of the following xml output. My intention is to parse only the acl field and assigned groups. But i'm not sure if the function i wrote is the most effective way to do it.</p>
  
  <p>Output from requests</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;Values version="2.0"&gt;
    &lt;array name="aclgroups" type="record" depth="1"&gt;
      &lt;record javaclass="com.wm.util.Values"&gt;
        &lt;value name="name"&gt;ACL_DEV_TEAM&lt;/value&gt;
        &lt;Boolean name="inUse"&gt;true&lt;/Boolean&gt;
        &lt;array name="allow" type="value" depth="1"&gt;
          &lt;value&gt;groups_a&lt;/value&gt;
          &lt;value&gt;groups_b&lt;/value&gt;
        &lt;/array&gt;
        &lt;/array&gt;
        &lt;array name="userList" type="value" depth="1"&gt;
          &lt;value&gt;jonhn&lt;/value&gt;
          &lt;value&gt;bob&lt;/value&gt;
        &lt;/array&gt;
      &lt;/record&gt;
    &lt;/array&gt;
  &lt;/Values&gt;
  </code></pre>
  
  <p>Code to parse the xml result</p>
  
  <pre><code>def parse_xml_list(self):
      try:
          acl_list = []
          tree = ElementTree.fromstring(self.xml)
          #Loop over all entries ( in this exemple is reduced to one only )
          for records in tree.findall('./array/record'):
              #Again.. loop over all records on xml
              acl = records.find('value[@name="name"]').text
              print(acl)
              for groups in records.findall('./array[1]/value'):
                  print(groups.text)
  
              print()
      except Exception:
          raise
      finally:
          self.xml = None
  </code></pre>
  
  <p>Expected Result:</p>
  
  <pre><code>devteam
  group_a
  group_b
  </code></pre>
  
  <p>The code is working great, but how could i turn it more Pythonic ?</p>
  
  <p>thanks in advance.</p>