title: Element Tree : Can't build root tree when getting XML from webpage
body: <p>I'm trying to parse an XML page I'm downloading from the web. </p>
  
  <pre><code>import requests
  url = "http://www.w3schools.com/xml/cd_catalog.xml"
  XML = requests.get(url)
  print XML.content
  
  tree = ET.ElementTree(XML)
  root = tree.getroot()
  
  print root.tag, root.attrib
  </code></pre>
  
  <p>I get one of two errors when I try and do this</p>
  
  <p>for the above example webpage 
      AttributeError: 'Response' object has no attribute 'tag'</p>
  
  <p>And for the actualy XML site I'm looking at 
      AttributeError: 'str' object has no attribute 'tag'</p>
  
  <p>However if I just copy and paste the XML I've downloaded into a .xml file and open it works fine with no errors. Would anyone know how to fix these problems..?</p>