Gabriel Nolasco [[email protected]] helped me with this code:

Use WFSCapabilities format instead [1]:

wfsParser = new OpenLayers.Format.WFSCapabilities();
wfsCapabilities = wfsParser.read(response.responseText);
wfsCapabilities.featureTypeList.featureTypes

[1]http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Format/WFSCapabilities-js.html

The problem is, that "wfsCapabilities.featureTypeList.featureTypes" is
nowhere documented.

Best regards,
Henry Rotzoll

-- 
View this message in context: 
http://n2.nabble.com/Read-WFS-capabilities-file-tp4506548p4553581.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to