[OpenLayers-Users] gml and attributes
Francesco Geri
francescogeri at yahoo.it
Mon Apr 16 09:51:32 EDT 2012
Hello,
I have some problems whie I try to access to the attributes of gml file stored in subtag. Normally when I use the event.feature.attributes.field1 I can extract the attributes stored in the node "field1". But when I have a situation like this
<field1>
<field2>
information
</field2>
</field1>
How I can access to the field2 node? I try with event.feature.field1.field2 but I obtain an undefined value.
thanks to all,
Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120416/5b9e7b29/attachment-0001.html
More information about the Users
mailing list