I cannot see anything wrong with your XML files, but I reformatted anyway to fix some issues with blank lines, so you might try them anyway.
If you still have errors while installing, maybe the problem is not the XML files, but some other file so, please, be more precise about what the error message says.