add XMLReader and an using example