modify the xml reader