XML format for maps and map rules

Map source files have the following two definitions:

The XML open document interface is useful for the following tasks:

The mapname.xml file generated with the Export command includes detailed information about the map: