Changeset 9533
- Timestamp:
- 07/01/09 01:30:35 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/bartvde/sosclient/openlayers/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js
r9527 r9533 20 20 ows: "http://www.opengis.net/ows/1.1", 21 21 sos: "http://www.opengis.net/sos/1.0", 22 xlink: "http://www.w3.org/1999/xlink", 23 xsi: "http://www.w3.org/2001/XMLSchema-instance" 22 xlink: "http://www.w3.org/1999/xlink" 24 23 }, 25 24 … … 78 77 }, 79 78 "Operation": function(node, obj) { 80 if (node.getAttribute("name") === "GetObservation") { 79 var name = node.getAttribute("name"); 80 if (name === "GetObservation") { 81 81 obj.GetObservation = {}; 82 82 this.readChildNodes(node, obj.GetObservation); 83 } else if (name === "DescribeSensor") { 84 obj.DescribeSensor = {}; 85 this.readChildNodes(node, obj.DescribeSensor); 83 86 } 84 87 }, … … 101 104 obj.observedProperties = []; 102 105 this.readChildNodes(node, obj.observedProperties); 106 } else if (name === "outputFormat") { 107 obj.outputFormat = []; 108 this.readChildNodes(node, obj.outputFormat); 103 109 } 104 110 },
