Working on createXMLNodeArray.