Added xml support
Merge pull request #37 from WouterJ/xml_support

Added xml support