If you are using an OpenLayers Format to parse this, then 
feature.attributes.typ and feature.attributes.tst

Best regards,
Bart

-- 
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.



On Sep 20, 2012, at 12:50 PM, vGIS <[email protected]> wrote:

> A WFS-Call returns the following XML per feature:
> 
> <gml:featureMembers>
>  <topp:poly gml:id="poly.20">
>    <topp:geom>
>      <gml:Polygon srsDimension="2"
> srsName="http://www.opengis.net/gml/srs/epsg.xml#31468";>
>        <gml:exterior>
>          <gml:LinearRing srsDimension="2">
>           <gml:posList>4356401.9816206 5513006.8751176 4355269.8991122
> 5511558.8626068 4357639.3741298 5510874.3476018 4358113.2691333
> 5512506.6526139 4356401.9816206 5513006.8751176</gml:posList>
>         </gml:LinearRing>
>      </gml:exterior>
>  </gml:Polygon>
> </topp:geom>
> *  <topp:typ>1</topp:typ>
>  <topp:tst>test</topp:tst>*
> </topp:poly>
> 
> Now, I'd like to use the bold marked information. How can feature attributes
> (not only id/fid/geom) be called? 
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/Use-WFS-Information-tp5003197.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to