Add XMLWriter Compatibility option
Merge pull request #119 from bskrtich/xmlwritercompatibility

Add XMLWriter Compatibility option