for zone in doc.xpath('//mapZone'):
    attrib = zone.attrib
if attrib['territory'] == '001':
    result[attrib['other']] = attrib['type']
pprint.pprint(dict(result))
How can I convert windows timezones to timezones pytz understands?