Changing variable in class generateXML.php