code: function (xmlNode, nodeName) {
  
              var childs = xmlNode.childNodes;
  
              for (var i = 0; i < childs.length; ++i) {
  
                  var item = childs.item(i);
  
                  if (item.nodeType !== 1) {
                      continue;
                  }
  
                  if ((item.nodeName && !nodeName) || (nodeName && nodeName === item.nodeName)) {
                      return item;
                  }
              }
  
              return null;
          }
docs: Returns the first child of a node.
  Internal. Applications should not call this function.
  @param {Node} xmlNode The tag to look in.
  @param {String} nodeName Optional parameter, the name of the child.