fix usage of XmlGenerator
Merge pull request #7 from RegioHelden/master

fix usage of XmlGenerator