Sorry, I made a mistake while copying the js code from my examples (the
result is the same).

The correct Js shoud read:


var map; //the OpenLayers map (previously initialized)
var layer = new OpenLayers.Layer.Vector("Route Layer");
map.addLayers([layer]);

var gmlpacket; //dom with the GMLPacket obtained from the wps call
var fmt = new OpenLayers.Format.GML();
fmt .read(gmlpacket); //fails with TypeError: node is undefined
fmt .parseFeature(gmlpacket); //returns a Vector with emtpy data

layer.addFeatures([feature]);


-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/parse-GMLPacket-tp5599717p5600801.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to