Is there support in pyxbgen (1.1.2) for elements with default or fixed values? I've had no problem with attributes coming through with defaults but elements do not. When I change the sample schema to have element defaults I do not see them in the resulting pyxbgen wrapper.
<xsd:element name="street" type="xsd:string" default="default street"/> <xsd:element name="city" type="xsd:NMTOKEN" fixed="fixed city"/> <xsd:attribute name="country" type="xsd:NMTOKEN" fixed="Works for attr"/> Thanks, bg ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ pyxb-users mailing list pyxb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyxb-users