Fixed XML support
Removed required attribute
Merge pull request #645 from WouterJ/patch-1

Fixed XML support