Non-Working SLD Snipplet with <Mark>
element:
<se:PolygonSymbolizer>
<se:Fill>
<se:GraphicFill>
<se:Graphic>
<se:Mark>
<se:WellKnownName>square</se:WellKnownName>
<se:Fill>
<se:SvgParameter name="fill">#7aeeee</se:SvgParameter>
</se:Fill>
<se:Stroke>
<se:SvgParameter name="stroke">#000000</se:SvgParameter>
<se:SvgParameter name="stroke-width">0.5</se:SvgParameter>
</se:Stroke>
</se:Mark>
<se:Size>5</se:Size>
</se:Graphic>
</se:GraphicFill>
</se:Fill>
<se:VendorOption name="graphic-margin">10</se:VendorOption>
</se:PolygonSymbolizer>
This works (is similar to geoserver doc - with <ExternalGraphic>
element):
<se:PolygonSymbolizer>
<se:Fill>
<se:GraphicFill>
<se:Graphic>
<se:ExternalGraphic>
<se:OnlineResource xlink:type="simple" xlink:href="red.png"></se:OnlineResource>
<se:Format>image/png</se:Format>
</se:ExternalGraphic>
<se:Size>5</se:Size>
</se:Graphic>
</se:GraphicFill>
</se:Fill>
<se:VendorOption name="graphic-margin">10</se:VendorOption>
</se:PolygonSymbolizer>