- Using elementtree for that...
In order to install it: pip.exe install elementtree --allow-unverified elementtree
( i don't why --allow-unverified elementtree)
example :
from xml.etree import ElementTree
document = ElementTree.parse("file.xml")
connections = document.find('users') #searching for element in xml tree
for connection in connections.findall('user'):
print connection.attrib['name']