Added XML support
Merge pull request #21 from WouterJ/xml_support

Added XML support