Re: [Generateds-users] Fwd: Exporting Unicode data

2013-08-29 Thread Logan Owen
Craig, I'm not sure what your use case is, but as an alternative, you might try using the "etree" export. So generate the bindings like: generateDS.py -qf -o foo.py --external-encoding='utf-8' --export="write etree" foo.xsd Then use the attached mintest-2.py file to write out your file. As fa

[Generateds-users] Fwd: Exporting Unicode data

2013-08-29 Thread W. Craig Trader
I have an application that needs to write I18N data to XML, using UTF-8 encoding, running on Python 2.7. See attached schema, and example program. I generated the foo.py wrapper as follows: generateDS.py -qf -o foo.py --external-encoding='utf-8' --export="write" foo.xsd When I run the test prog