docs: function(data, options) {
          options = options || {};
          OpenLayers.Util.applyDefaults(options, {
              output: "features"
          });
          
          if(typeof data == "string") { 
              data = OpenLayers.Format.XML.prototype.read.apply(this, [data]);
          }
          if(data && data.nodeType == 9) {
              data = data.documentElement;
          }
          var obj = {};
          if(data) {
              this.readNode(data, obj, true);
          }
          if(obj.features && options.output === "features") {
              obj = obj.features;
          }
          return obj;
      }