add XMLReader

add working XMLReader