This is what I spent the weekend producing.
What is annoying is that I didn't write the code, I was just trying to get it to compile. I thought at some stage the problem was with XML files, but in the end the errors were mine and due to my inexperience in the programming language I was working with. Still I hate XML!