XMLReader with 1st global variable
global variable error solved