Hi there,

Thanks for the great library, it's really useful.

I use the library to create a Python API class to generate XMLs based off
XSDs.

I have a XSD which has the following line.

    <xs:element default="0.95" name="volume" type="ct:volumeType"/>

However when I generated my XML, this element is missing.

When looking at the generated code I see this.

    if self.volume != 0.95:
        showIndent(outfile, level, pretty_print)
        outfile.write('<%volume>%s</%volume>%s' % (namespace_,
self.gds_format_double(self.volume, input_name='volume'), namespace_, eol_))

Is this possible?

Thanks in advance,
Marc
------------------------------------------------------------------------------
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

Reply via email to