>From: Thomas A. Moulton >Sent: Tue, January 19, 2010 2:36:07 PM >
Tom - Sorry that I was asleep. You should not have had to CC me. But, of course, it does not hurt. > I have an XSD file that defines many xsd:simpleTypes, example below. > Reading over the online documentation I understand there is no > inherent validation associated with simpleTypes; however, I cannot > ascertain if there should be some code generated to represent each > simpleType. The example below does not net any related python code. > My thought was there would be a simple class called > “RegistrationOp” that would contain class varibles for > each xsd:enumeration. You may have already seen this, but ... You might want to look at the "simpleType and validators" section of the documentation. See: http://www.rexx.com/~dkuhlman/generateDS.html#simpletype-and-validators That might give you a way to generate some custom code for different simpleTypes. Also, if you have not already, take a look at the section on "Overridable methods": http://www.rexx.com/~dkuhlman/generateDS.html#overridable-methods Hope this helps. - Dave -- Dave Kuhlman http://www.rexx.com/~dkuhlman ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users