code: function addChildNode(node, tagName) {
      return node.appendChild((node.ownerDocument || node).createElement(tagName));
  }
docs: Adds child node to xml
  @param {Node} node - parent node
  @param {string} tagName - child node tag name
  @returns {Node} - created node