Hi list
I am trying to use a pyxb.bundles.opengis.oseo.DeliveryInformationType
but keep getting an error. I want to create the element, fill it with
values and then get its XML representation.
# Python code
import pyxb.bundles.opengis.oseo as oseo
dit = oseo.DeliveryInformationType()
dit.mailAddress = oseo.DeliveryAddressType(firstName='Ricardo')
dit.toxml()
UnboundElementError: Instance of type {
http://www.opengis.net/oseo/1.0}DeliveryInformationType has no bound
element for start tag
I'm using pyxb version 1.2.3 downloaded from pypi
How can I overcome this issue?
Thanks in advance
--
___________________________ ___ __
Ricardo Garcia Silva
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
pyxb-users mailing list
pyxb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyxb-users