There is a new version of generateDS.py -- version 2.7c. There is one small fix and also a new feature: you can now export XML documents in a compact format, that is, without the leading white space on lines for pretty printed indentation. Thanks much to Logan Owen for all the work on the support for compact format.
Here are a few notes and details from the README: # ========================================================= Version 2.7c (08/06/2012) * Added xs:hexBinary to the list of string types in generateDS.py and django/generatedssuper.py. Effectively, we are generating the same code for types xs:base64Binary and xs:hexBinary. That leaves it up to the user to add code that converts into and out of these formats. Thanks to Peter Kreinhöfer for finding this. * Added support for compressed export, that is, export without ignorable white space (indentation and new lines). Normally the generated export methods produce pretty-printed (indented) XML output. With this change, we generate modules which enable you to export in a way that omits ignorable whitespace. It is anticipated that this feature will be useful to those who need to export XML documents that are machine readable but not human readable. Thanks much to Logan Owen for doing the work on this one. Compressed (non-pretty-print) output is produced by passing the keyword argument pretty_print=False to the export method. There is a note in the document (generateDS.html) about it; see section titled "Exporting compact XML documents". # ========================================================= You can find it here: - Python Package Index -- http://pypi.python.org/pypi/generateDS/ - Source Forge -- http://sourceforge.net/projects/generateds/ If you have comments, suggestions, or problems, please send them along. - Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users