Add XMLWriter Compatibility option