Index: lib/OpenLayers/Layer/WFS.js
===================================================================
--- lib/OpenLayers/Layer/WFS.js	(revision 5520)
+++ lib/OpenLayers/Layer/WFS.js	(working copy)
@@ -75,6 +75,12 @@
     extractAttributes: false,
 
     /**
+      * Property: format
+      * {<OpenLayers.Format>} The format you want the data to be parsed with.
+      */
+    format: null,
+
+    /**
      * Constructor: OpenLayers.Layer.WFS
      *
      * Parameters:
Index: lib/OpenLayers/Tile/WFS.js
===================================================================
--- lib/OpenLayers/Tile/WFS.js	(revision 5520)
+++ lib/OpenLayers/Tile/WFS.js	(working copy)
@@ -116,10 +116,11 @@
                 doc = OpenLayers.parseXMLString(request.responseText);
             }
             if (this.layer.vectorMode) {
-                var gml = new OpenLayers.Format.GML({
-                    'extractAttributes': this.layer.options.extractAttributes
-                });
-                this.layer.addFeatures(gml.read(doc));
+                var format = this.layer.format ? this.layer.format : OpenLayers.Format.GML;
+
+                var parser = new format({'extractAttributes': this.layer.options.extractAttributes});
+
+                this.layer.addFeatures(parser.read(doc));
             } else {
                 var resultFeatures = OpenLayers.Ajax.getElementsByTagNameNS(
                     doc, "http://www.opengis.net/gml", "gml", "featureMember"
