code: function renderAttributes(ns, node, attrs) {
    let map = ATTRIBUTE_MAP[ns] || {};
    keys(map).forEach(key => {
      let attrKey = map[key];
      if(key in attrs) {
        node.setAttribute(attrKey, attrs[key]);
      }
    });
  }
docs: /*
  Render the attributes provided in the hash to the node.