Editing XML Files:
Sorry but this is not a tutorial for editing XML files, it'll only point you to the app that will let you edit XBMC/Kodi's XML files with ease, no more errors anymore.
* I am NOT affiliated with symbolclick.com or anyone else. Just trying to make people's life easier.* If they remove the free version from their website I will link to another free app ;-)