On Thu, Oct 25, 2012 at 3:00 PM, vsinceac <[email protected]> wrote:
> Of course I did...
>
> <Label></Label>  --> No icon at all
> <Label> </Label>                      --> No icon at all
> <Label>any char</Label>           --> Icon AND "any char" over it
>
> Is there a tricky "invisible" escape char? Or well have I to set invisible
> color for the font???

What part of CDATA is not clear? :-)

<Label><![CDATA[ ]]></Label>

More about cdata: http://www.w3schools.com/xml/xml_cdata.asp

If we don't put the space in a cdata section the XML parsing rules set
by OGC for
the label element kill any space in it, making it the empty label that
does not get painted.

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to