msg = resp.content
tree = ET.fromstring(msg)
for place in tree.findall('place'):
    print('{:s}: {:+.2f}, {:+.2f}'.format(place.get('display_name'), float
        (place.get('lon')), float(place.get('lat'))).encode('utf-8'))
Xml parsing from web response