Able to check integrity of xml files

Need more work