<font size=3 face="sans-serif">I'm using a wps client that send a wfs
getfeature request in POST.</font>
<p><font size=3 face="sans-serif">Here is the part of the payload I'm looking</font>
<br><font size=3 face="sans-serif"><wfs:GetFeature xmlns:wfs="</font><a href=http://www.opengis.net/wfs><font size=3 face="sans-serif">http://www.opengis.net/wfs</font></a><font size=3 face="sans-serif">"
service="WFS" version="1.1.0" outputFormat="GML2"><wfs:Query
typeName="caserne" ></font>
<br>
<br><font size=3 face="sans-serif">In some cases I need to programmatically
add this params maxFeatures="50". The payload must become</font>
<br><font size=3 face="sans-serif"><wfs:GetFeature xmlns:wfs="</font><a href=http://www.opengis.net/wfs><font size=3 face="sans-serif">http://www.opengis.net/wfs</font></a><font size=3 face="sans-serif">"
service="WFS" version="1.1.0" outputFormat="GML2"</font><font size=3 color=red face="sans-serif"><b>
maxFeatures="3"</b></font><font size=3 face="sans-serif">><wfs:Query
typeName="caserne" ></font>
<br>
<br><font size=3 face="sans-serif">I tried layer.protocol.maxFeatures =
50, but this add the param in the wfs:query tag which doesn't work.</font>
<br>
<br><font size=3 face="sans-serif">How should I modify the layer protocol
to add maxFeatures param only when needed?</font>
<br><font size=3 face="sans-serif">Thank you</font>
<br><font size=3 face="sans-serif">Steve</font>