XML export driver: fix export options
Merge pull request #1214 from Fedik/fix-xml-export-options

XML export driver: fix the options export