[OpenLayers-Users] gml and attributes

Bart van den Eijnden bartvde at opengeo.org
Mon Apr 16 10:31:34 EDT 2012


I don't think this is currently supported/possible.

Best regards,
Bart

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



On Apr 16, 2012, at 3:51 PM, Francesco Geri wrote:

> 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
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120416/3022209a/attachment.html


More information about the Users mailing list