added XML output to hexmap