Part of the WMS spec is you can just use the SLD parameter. Instead of
saying style=StyleName you say SLD=http://link.to/style/name. See
http://old.nabble.com/Applying-a-remote-SLD-to-a-Openlayer-GetMap-request-td15767436.htmlfor
some discussion of it. It's specified in 1.0 of the SLD spec, see
Hello All!
We've just started to use GeoServer 2.1-beta1 in our project.
We're generating layers from SQL. Geometry parameters are also generated
with SQL dynamicaly.
The map should be styled according to those parameters.
The problem is that we unfortunately can't use static SLD on file system