Yeah, my intention is to pull the ogc:Filter readers and writers out of 
SLD and put them in a Filter format.  Then SLD can extend itself with 
readers/writers from Filter.

Tim

[EMAIL PROTECTED] wrote:
> Okay, with quite a few code lines I could get the job done .... :
> 
> var sld = new OpenLayers.Format.SLD.v1();
> var dummyNode = sld.createElementNSPlus("Dummy");
> var flt = sld.writeNode(dummyNode, "ogc:Filter", filter);
> var xml = new OpenLayers.Format.XML();
> layer.filter = xml.write(flt);
> 
> Best regards,
> Bart
> 
> On Wed, 07 May 2008 14:40:09 +0200, <[EMAIL PROTECTED]> wrote:
>> Hi list,
>>
>> currently Format.SLD can write a ogc:Filter node. This works fine when I
>> use SLD WMS.
>>
>> Now I also want to use the same Filter XML for use in a WFS GetFeature
>> request (to show an attribute tabel of the selection).
>>
>> How can I currently write the Filter?
>>
>> Should there be a Format.Filter or something similar?
>>
>> Best regards,
>> Bart
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://openlayers.org/mailman/listinfo/dev
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev
> 
> !DSPAM:4033,4821ab29134998362916074!
> 

_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to