<?xml version="1.0" encoding="utf-8"?> <Map srs="+init=epsg:4326" background-color="white"> <Style name="style"> <Rule> <PointSymbolizer /> <TextSymbolizer name="[label]" face-name="DejaVu Sans Book" size="10" dx="5" dy="5"/> </Rule> </Style> <Layer name="test" srs="+init=epsg:4326"> <StyleName>style</StyleName> <Datasource> <Parameter name="type">python</Parameter> <Parameter name="factory">test:TestDatasource</Parameter> </Datasource> </Layer> </Map>