[OpenLayers-Users] parse gml from WMS GetFeatureInfo

G. Allegri giohappy at gmail.com
Thu May 22 16:54:38 EDT 2008


Hi list,
I need to parse the response I get from a GetFeatureInfo. I thought I
could do it with OpenLayers.Format.GML, but I get back nothing... I
tried this way:

		var gmlReader = new OpenLayers.Format.GML({extractAttributes: true});
		var _gml = gmlReader.read(response.responseXML);
		var my_attributes = _gml.attributes;

But attributes remain undefined... I'm in a rush, so I think I've
misunderstood the use of OpenLayers.Format.GML
Could you suggest me other ways?

Thanks



More information about the Users mailing list