Added basic XML support
Merge pull request #195 from WouterJ/xml_support

Added basic support