On 23 May 2010 02:55, GuiCheBZH wrote:
> My problem is if the TextSymbolizer is not in the same FeatureTypeStyle in
> the SLD, when I use this file to create a style, the TextSymbolizer is not
> applied on the geometry.
I _think_ that's because GeoTools is just picking up the first style
from your SLD doc. I don't think you need the second FeatureTypeStyle
anyway. Just have a single style with the two rules.