xml parser implemented and tested