create xml reader