xml.header("1.0", encoding);
xml.indentElement("TileMapService")
.attribute("version", "1.0.0")
.attribute("services", urlMangler.buildURL(baseUrl, contextPath, ""));
// TODO can have these set through Spring
xml.simpleElement("Title", "Tile Map Service", true);
xml.simpleElement("Abstract", "A Tile Map Service served by GeoWebCache", true);
//TODO Optional stuff, note that there is some meta data stuff on the
// TileLayer object that we simply don't use yet
// <KeywordList>example tile service</KeywordList>