If you only ever want the same subset of attributes (eg only one attribute) from the layer in question, and you are using PostGIS as your datasource, you can make use of the attribute_cols parameter in the layer config..<br>
<br><a href="http://featureserver.org/doc/DataSources#postgis">http://featureserver.org/doc/DataSources#postgis</a><br><br clear="all">  -Josh<br>
<br><br><div class="gmail_quote">On Tue, Feb 24, 2009 at 1:58 PM, Alexandre Dube <span dir="ltr">&lt;<a href="mailto:adube@mapgears.com">adube@mapgears.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
  I want to query a layer and receive only one attribute and the<br>
geometry.  Is this possible with the featureserver api ?<br>
<br>
--<br>
Alexandre Dubé<br>
Mapgears<br>
<a href="http://www.mapgears.com" target="_blank">www.mapgears.com</a><br>
<br>
_______________________________________________<br>
Featureserver mailing list<br>
<a href="mailto:Featureserver@openlayers.org">Featureserver@openlayers.org</a><br>
<a href="http://featureserver.org/mailman/listinfo/featureserver" target="_blank">http://featureserver.org/mailman/listinfo/featureserver</a><br>
</blockquote></div><br>