code: function(data) {
          if(typeof data == "string") { 
              data = OpenLayers.Format.XML.prototype.read.apply(this, [data]);
          }
          var featureNodes = this.getElementsByTagNameNS(data.documentElement,
                                                         this.gmlns,
                                                         this.featureName);
          var features = [];
          for(var i=0; i<featureNodes.length; i++) {
              var feature = this.parseFeature(featureNodes[i]);
              if(feature) {
                  features.push(feature);
              }
          }
          return features;
      }
docs: APIMethod: read
  Read data from a string, and return a list of features.
  
  Parameters:
  data - {String} or {DOMElement} data to read/parse.
  
  Returns:
  {Array(<OpenLayers.Feature.Vector>)} An array of features.