title: Parsing a URL XML with the ElementTree XML API
body: <p>Below is my sample code where in the background I am downloading statsxml.jsp with wget and then parsing the xml. My question is now I need to parse multiple XML URL and as you can see in the below code I am using one single file. How to accomplish this?</p>
  
  <p>Example URL - <a href="http://www.trion1.com:6060/stat.xml" rel="nofollow noreferrer">http://www.trion1.com:6060/stat.xml</a>,
  <a href="http://www.trion2.com:6060/stat.xml" rel="nofollow noreferrer">http://www.trion2.com:6060/stat.xml</a>, <a href="http://www.trion3.com:6060/stat.xml" rel="nofollow noreferrer">http://www.trion3.com:6060/stat.xml</a></p>
  
  <pre><code>import xml.etree.cElementTree as ET
  tree = ET.ElementTree(file='statsxml.jsp')
  
  root = tree.getroot()
  root.tag, root.attrib
  
  print "root subelements: ", root.getchildren()
  root.getchildren()[0][1]
  root.getchildren()[0][4].getchildren()
  
  for component in tree.iterfind('Component name'):
      print component.attrib['name']
  </code></pre>