Example of a countries vector layer with country labels at higher zoom levels, styling info coming from SLD.
See the vector-layer-sld.js source to see how this is done.