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

Added XML support