code: def getItemXML():
      ''' Build an XML string that contains some randomly positioned goal items'''
      xml=""
      for item in range(NUM_GOALS):
          x = str(random.randint(old_div(-ARENA_WIDTH,2),old_div(ARENA_WIDTH,2)))
          z = str(random.randint(old_div(-ARENA_BREADTH,2),old_div(ARENA_BREADTH,2)))
          xml += '''<DrawItem x="''' + x + '''" y="210" z="''' + z + '''" type="''' + GOAL_TYPE + '''"/>'''
      return xmf getItemXML():
      ''' Build an XML string that contains some randomly positioned goal items'''
      xml=""
      for item in range(NUM_GOALS):
          x = str(random.randint(old_div(-ARENA_WIDTH,2),old_div(ARENA_WIDTH,2)))
          z = str(random.randint(old_div(-ARENA_BREADTH,2),old_div(ARENA_BREADTH,2)))
          xml += '''<DrawItem x="''' + x + '''" y="210" z="''' + z + '''" type="''' + GOAL_TYPE + '''"/>'''
      return xml
docs: Build an XML string that contains some randomly positioned goal items