The XmlWriter and XmlWriterEx has a new property to define the output format for enums, to write enums as int, that is the defautl, or to write enums as string.