Sriram, I believe that I've addressed two of the items that you report, specifically items 1 and 3 below. See my other message today to the list about the new version.
Item 2 (pushing XML instance data into a Django model/database) is a lot more work. I'm still looking at it, but that feature won't come soon, unfortunately. I'll report back if and when I make some progress. In the meantime, if you have questions or comments about the two Django changes that I made or find that they do not work as you'd hoped, please let me know. Dave On Fri, Aug 11, 2017 at 04:44:08PM +0100, Sriram Sundar wrote: > Dear Team, > We are using generateDS to create Django model from the xsd and it has > been very helpful. > We have few queries with respect to the generateDS usage listed below, > could you please help us with the same? > 1. While we used '$ ./gends_run_gen_django.py myschema.xsd' to generate > the django model, the generated model seem to have a foreign key reference > for the 'xs:float' type instead of 'models.FloatField'. Can you let us > know if it is an know issue or we are using the library in an incorrect > way. > 2. Once after creating the django model from xsd can generateDS help us > validating and parsing xml inputs to django model directly so that it > could be dumped in to the db. > 3. The naming convention in the django model seem to add suffix > 'Type_model' to the class name, is there a way for us to get rid ff the > suffix and use the model name same as the xsd element name (like how it is > generated in a python model). > Thanks > Sriram > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > generateds-users mailing list > generateds-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/generateds-users -- Dave Kuhlman http://www.davekuhlman.org ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users