code: function(href) {
          var node = this.createElementDefaultNS("OnlineResource");
          this.setAttributeNS(node, this.namespaces.xlink, "xlink:type", "simple");
          this.setAttributeNS(node, this.namespaces.xlink, "xlink:href", href);
          return node;
      }
docs: Method: write_wmc_OnlineResource
  Create an OnlineResource node given a URL.
  
  Parameters:
  href - {String} URL for the resource.
  
  Returns:
  {Element} A WMC OnlineResource element node.