public static Element writeMapElement(MapElement primitive, XMLBuilder builder, XMLResources resources) throws IOException {
		return writeMapElement(primitive, null, builder, resources);
	}
public static Element writeMapElement ( MapElement primitive , XMLBuilder builder , XMLResources resources ) throws IOException { return writeMapElement ( primitive , null , builder , resources ) ; }
Write the XML description for the given map element.

@param primitive is the map element to output.
@param builder is the tool to create XML nodes.
@param resources is the tool that permits to gather the resources.
@return the XML node of the map element.
@throws IOException in case of error.