in scripts/transform.py [0:0]
def parseMapZone(mapZone):
strType = mapZone._attrs['type'].value
strOther = mapZone._attrs['other'].value
strTerritory = mapZone._attrs['territory'].value
strTypes = string.split(strType, ' ')
strMapZones = []
for strZoneType in strTypes :
strMapZones.append('{"' + strOther + '", "' + strTerritory + '", "' +\
strZoneType + '"}')
strTypes
strMapZone = string.join(strMapZones, ',\n')
return strMapZone