code: function(data, options) {
          var context = OpenLayers.Format.XML.VersionedOGC.prototype.read.apply(this, 
              arguments);
          var map;
          if(options && options.map) {
              this.context = context;
              if(options.map instanceof OpenLayers.Map) {
                  map = this.mergeContextToMap(context, options.map);
              } else {
                  var mapOptions = options.map;
                  if(OpenLayers.Util.isElement(mapOptions) ||
                     typeof mapOptions == "string") {
                      // we assume mapOptions references a div
                      // element
                      mapOptions = {div: mapOptions};
                  }
                  map = this.contextToMap(context, mapOptions);
              }
          } else {
              // not documented as part of the API, provided as a non-API option
              map = context;
          }
          return map;
      }
docs: Constructor: OpenLayers.Format.Context
  Create a new parser for Context documents.
  
  Parameters:
  options - {Object} An optional object whose properties will be set on
  this instance.
   
  APIMethod: read
  Read Context data from a string, and return an object with map
  properties and a list of layers.
  
  Parameters:
  data - {String} or {DOMElement} data to read/parse.
  options - {Object} The options object must contain a map property.  If
  the map property is a string, it must be the id of a dom element
  where the new map will be placed.  If the map property is an
  <OpenLayers.Map>, the layers from the context document will be added
  to the map.
  
  Returns:
  {<OpenLayers.Map>} A map based on the context.