code: function(context) {
           var server = context.server;
          var node = this.createElementDefaultNS("Server");
           var attributes = {
              service: "OGC:WMS",
               version: server.version
           };
           if (server.title) {
               attributes.title = server.title;
           }
           this.setAttributes(node, attributes);
          
          // required OnlineResource element
           node.appendChild(this.write_wmc_OnlineResource(server.url));
          
          return node;
      }
docs: Method: write_wmc_Server
  Create a Server node given a layer context object.
  
  Parameters:
  context - {Object} Layer context object.
  
  Returns:
  {Element} A WMC Server element node.