code: function(geometry) {
              var gml = this.createElementNS(this.gmlns, "gml:MultiPoint");
              var points = geometry.components;
              var pointMember, pointGeom;
              for(var i=0; i<points.length; i++) { 
                  pointMember = this.createElementNS(this.gmlns,
                                                     "gml:pointMember");
                  pointGeom = this.buildGeometry.point.apply(this,
                                                                 [points[i]]);
                  pointMember.appendChild(pointGeom);
                  gml.appendChild(pointMember);
              }
              return gml;            
          }
docs: Method: buildGeometry.multipoint
  Given an OpenLayers multipoint geometry, create a GML multipoint.
  
  Parameters:
  geometry - {<OpenLayers.Geometry.MultiPoint>} A multipoint geometry.
  
  Returns:
  {DOMElement} A GML multipoint node.