Added XML support
Merge pull request #37 from WouterJ/fix_xml_config

Added XML support