Finally XML parser is working