Dave, Works like a charm. Haven't found unexplainable differences between 2.12b and 2.12c - so that's good!
Thanks again for the quick responses and actions. Mikki *Met vriendelijke groet / With kind regards,* Mikki Weesenaar | Test and Integration Flight Forum 3200 5657 EW Eindhoven, The Netherlands *mikki.weesen...@schange.com <mikki.weesen...@schange.com> *| *www.schange.com/emea <http://www.schange.com/emea>* | NASDAQ: SEAC<http://www.schange.com/en-US/Company/InvestorRelations.aspx> Mobile: +31 (0)6 - 1559 9312 Skype: Mikki.Weesenaar *Meet us at:* - Mobile World Congress, 24-27 February, Barcelona, Spain - CabSat, 11-13 March, Dubai, UAE - Cable Congress, 12-14 March, Amsterdam, NL - TV Connect, 18-20 March, London, UK - ANGA COM, 20-22 May, Cologne, Germany - Connected TV Summit, 11-12 June, London, UK On Fri, Mar 28, 2014 at 9:30 PM, Dave Kuhlman <dkuhl...@davekuhlman.org>wrote: > On Fri, Mar 28, 2014 at 08:00:28AM +0100, Mikki Weesenaar wrote: > > Dave, > > I have a feature request which is quite simple, I guess. > > At our project we generate models from quite a few different XSDs - we > > sometimes face the problem that we don't know any more which XSD was > > used. Therefore my request is; is it possible that an extra line of > > comment is added which describes the name of the file used, to > > generated the model? > > Best regards, > > Mikki Weesenaar > > Mikki, > > Good to hear from you again. > > Sounds like a good idea. I wish I'd thought of that. > > Since we're looking at this, why not include all command line > options and arguments. That might give someone some additional > information. > > Here is an example of what the generated comment might look like: > > # > # Generated Fri Mar 28 12:57:05 2014 by generateDS.py version 2.12c. > # > # Command line options: > # ('-f', '') > # ('-o', 'junk1sup.py') > # ('-s', 'junk1sub.py') > # ('--super', 'junk1sup') > # ('--export', 'write literal etree') > # ('--member-specs', 'dict') > # ('--root-element', 'HDF5-File|HDF5_File') > # > # Command line arguments: > # HDF5-File.xsd > # > > > That gives you what you need, right? > > I've pushed this updated version to Bitbucket, in case you want to > try it. There are additional changes in that version, so do some > checking before you make use of your generated code. > > It's here: https://bitbucket.org/dkuhlman/generateds > > Dave > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > generateds-users mailing list > > generateds-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/generateds-users > > > -- > > Dave Kuhlman > http://www.davekuhlman.org >
------------------------------------------------------------------------------
_______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users