Added support for XML
Merge pull request #206 from WouterJ/fix_xml

Added basic support for XML