GoXmlBindingTransformer and Enum localization

Hi, i use GoXmlBindingTransformer to save my GoDocument and i have problem when i save localizable Enum field. Enum field is saved in text instead of number and when the user change the language used, the document cannot be loaded correctly.

Is it possible to save Enum with number instead of text with GoXmlBindingTransformer like the following (assuming BrushStyle and Rectangle was Enum field)?
<MyButton id="1" BrushStyle="Solid" BackgroundType="Rectangle"...
to
<MyButton id="1" BrushStyle="1" BackgroundType="0"...

How are you localizing the enum?



There are a couple of techniques that would avoid this issue, I think:



http://www.codeproject.com/KB/cs/LocalizingEnums.aspx



http://lostinloc.com/2008/05/06/c-overloading-an-enums-tostring/