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