A new XML Mapfile Format in Mapserver 5.6

Build a mapfile for Mapserver from plain text is not an easy job.  We can use a Syntax coloring Editor like SciTE, PsPad or UltraEdit, but we all hope have a nice and easy  mapfile editor for build our web map service.  Sice version 5.6, Mapserver has a XML schema has been defined to encode mapfiles in XML format. We can get some input from Mapserver Wiki for example, how to implement it and how to convert existing mapfile. <?xml version="1.0" encoding="UTF-8"?> <Map name="GMAP-DEMO" version="5.6.0" status="ON" xmlns="http://www.mapserver.org/mapserver" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mapserver.org/mapserver"> <extent>-2200000 -712631 3072800 3840000</extent> <fontSet>../etc/fonts.txt</fontSet> <imageColor red="255" green="255" blue="255"/> <Layer name="bathymetry" type="RASTER" status="ON"> <data>bath_mapserver.tif</data> <Metadata> <item name="DESCRIPTION">Elevation/Bathymetry</item> </Metadata> </Layer> <Layer name="popplace" type="POINT" status="ON"> <Class name="Cities"> <color red="0" green="0" blue="0"/>< expression>1</expression> <Label type="TRUETYPE"> <align>LEFT</align> <color red="255" green="0" blue="0"/> <font>sans-italic</font> <outlineColor red="255" green="255" blue="255"/> <partials>FALSE</partials> <position>AUTO</position> <size>8</size> </Label> ...So this feature is not realy exciting BUT now we have a tool to parse any mapfile and option to build new client interface for Mapfile.  This is a prety good news... :-)