code: function(style, node) {
          var legend = {
              width: node.getAttribute('width'),
               height: node.getAttribute('height'),
               format: node.getAttribute('format'),
               href:   this.getOnlineResource_href(node)
          };
          style.legend = legend;
      }
docs: Method: read_wmc_LegendURL