The Function element should *replace* the Literal, not be contained within
it.  I think if you take out the Literal tags entirely this should work.

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Jun 11, 2012 at 6:00 AM, Lucille Ricaud <lucille.ric...@ign.fr>wrote:

> Hello,
>
> I have worked for several month on Parameter substitution in SLD.
> I tried today to put a parameter in a "PropertyIsLike"-tag :
>
>       <ogc:PropertyIsLike wildCard="*" singleChar="#" escape="!">
>              <ogc:PropertyName>symbolisation</ogc:PropertyName>
>              <ogc:Literal>
>                       <ogc:Function name="env">
>                               <ogc:Literal>param_text</ogc:Literal>
>                               <ogc:Literal>sea</ogc:Literal>
>                       </ogc:Function>
>              </ogc:Literal>
>       </ogc:PropertyIsLike>
>
> but it doesn't work!
>
> Is there a conflict between the two "Literal"-tag ?
> Does Substitution not work in this case?
>
> Thank you,
>
> Lucille
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to