docs: function(feature) {
          if (!feature.fid) { OpenLayers.Console.userError(OpenLayers.i18n("noFID")); }
          var updateNode = this.createElementNS(this.wfsns, 'wfs:Update');
          updateNode.setAttribute("typeName", this.featurePrefix + ':' + this.featureName); 
          updateNode.setAttribute("xmlns:" + this.featurePrefix, this.featureNS); 
  
          var propertyNode = this.createElementNS(this.wfsns, 'wfs:Property');
          var nameNode = this.createElementNS(this.wfsns, 'wfs:Name');
          
          var txtNode = this.createTextNode(this.geometryName);
          nameNode.appendChild(txtNode);
          propertyNode.appendChild(nameNode);
          
          var valueNode = this.createElementNS(this.wfsns, 'wfs:Value');
          
          var geometryNode = this.buildGeometryNode(feature.geometry);
          
          if(feature.layer){
              geometryNode.setAttribute(
                  "srsName", feature.layer.projection.getCode()
              );
          }
          
          valueNode.appendChild(geometryNode);
          
          propertyNode.appendChild(valueNode);
          updateNode.appendChild(propertyNode);
          
           // add in attributes
          for(var propName in feature.attributes) {
              propertyNode = this.createElementNS(this.wfsns, 'wfs:Property');
              nameNode = this.createElementNS(this.wfsns, 'wfs:Name');
              nameNode.appendChild(this.createTextNode(propName));
              propertyNode.appendChild(nameNode);
              valueNode = this.createElementNS(this.wfsns, 'wfs:Value');
              valueNode.appendChild(this.createTextNode(feature.attributes[propName]));
              propertyNode.appendChild(valueNode);
              updateNode.appendChild(propertyNode);
          }
          
          
          var filterNode = this.createElementNS(this.ogcns, 'ogc:Filter');
          var filterIdNode = this.createElementNS(this.ogcns, 'ogc:FeatureId');
          filterIdNode.setAttribute("fid", feature.fid);
          filterNode.appendChild(filterIdNode);
          updateNode.appendChild(filterNode);
  
          return updateNode;
      }