code: function(geometry) {
          var coordinatesNode = this.createElementNS(this.gmlns,
                                                     "gml:coordinates");
          coordinatesNode.setAttribute("decimal", ".");
          coordinatesNode.setAttribute("cs", ",");
          coordinatesNode.setAttribute("ts", " ");
  
          var parts = [];
  
          if(geometry instanceof OpenLayers.Bounds){
              parts.push(geometry.left + "," + geometry.bottom);
              parts.push(geometry.right + "," + geometry.top);
          } else {
              var points = (geometry.components) ? geometry.components : [geometry];
              for(var i=0; i<points.length; i++) {
                  parts.push(points[i].x + "," + points[i].y);                
              }            
          }
  
          var txtNode = this.createTextNode(parts.join(" "));
          coordinatesNode.appendChild(txtNode);
          
          return coordinatesNode;
      }
docs: Method: buildCoordinates
  builds the coordinates XmlNode
  (code)
  <gml:coordinates decimal="." cs="," ts=" ">...</gml:coordinates>
  (end)
  
  Parameters:
  geometry - {<OpenLayers.Geometry>}
  
  Returns:
  {XmlNode} created xmlNode