Hi there, Does anybody know how to access the layers from a WFS capabilities file?
I have this code: var XMLformat = new OpenLayers.Format.XML(); var xml = XMLformat.read(responseText); --> "responseText" ist the returned WFS capabilities file from the server var CAPformat = new OpenLayers.Format.WFSCapabilities(); var cap = CAPformat.read(xml); "cap" is an object, not null, but I can't access it like in the WMS Capabilities case (e. g. cap.capability.layers[i]). JavaScript says it's undefined. Thanks in advance! Best regards, Henry -- View this message in context: http://n2.nabble.com/Read-WFS-capabilities-file-tp4506548p4506548.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
