title: Not getting anything while parsing xml file in python
body: <p>I am a beginner in python and trying to parse the below string from xmlfile where I can get an output like below :</p>
  
  <p><strong>Expected output</strong> :<code>{macman:(linkedin,facebook,stack overflow)}</code></p>
  
  <p>so that I can find out which user has which clients</p>
  
  <pre><code>XML File :  &lt;user name="macman"&gt;  &lt;client name="linkedin" /&gt; 
  &lt;client name="facebook" /&gt;  &lt;client name="stack overflow" /&gt; 
  &lt;/user&gt;
  </code></pre>
  
  <p><strong>Code i am trying</strong> :</p>
  
  <pre><code>import urllib.request as url
  import xml.etree.ElementTree as ET
  
  xmlfile=url.urlopen(r'file:///D:/Python/user.html')
  
  tree=ET.parse(xmlfile)
  
  root=tree.getroot()
  print(root.tag)
  
  for item in root.findall("./user"):
     users={}
     for child in item:
        users[child.tag]=child.text
     print(users)
  </code></pre>