code: function(context, node) {
          var layerContext = {
              visibility: (node.getAttribute("hidden") != "1"),
              queryable: (node.getAttribute("queryable") == "1"),
              formats: [],
               styles: [],
               metadata: {}
          };
  
          this.runChildNodes(layerContext, node);
          // set properties common to multiple objects on layer options/params
          context.layersContext.push(layerContext);
      }
docs: Method: read_wmc_Layer