code: function _setElem(elem, elemName, elemParams, elemArr, bySelfClose, tmplRule, outputH) {
    var ret,
        paramsEx,
        fixedExTagName = fixExTagName(elemName, tmplRule);
  
    if (fixedExTagName) {
      elemName = fixedExTagName;
    }
  
    if (isEx(elemName, tmplRule, true)) {
      ret = elem.substring(1, elem.length - 1);
  
      if (fixedExTagName) {
        ret = tmplRule.extensionRule + lowerFirst(ret);
      }
    } else if (isStrPropS(elemName, tmplRule)) {
      ret = _transformToEx(true, elemName, elemParams, tmplRule);
    } else if (isPropS(elemName, tmplRule)) {
      ret = _transformToEx(false, elemName, elemParams, tmplRule);
    } else {
      var retS = _getSplitParams(elem, tmplRule, outputH);
  
      ret = retS.elem;
      paramsEx = retS.params;
    }
  
    if (bySelfClose) {
      var retC = [ret];
  
      if (paramsEx) {
        retC.push(paramsEx);
      }
  
      elemArr.push(retC);
    } else {
      elemArr.push(ret);
  
      if (paramsEx) {
        elemArr.push(paramsEx);
      }
    }
  }
docs: Set element node