Hello, I just started to make my first test with generateDS.
I try to programatically create an xml file using a code like: import sys import test import upnp_device DeviceTypeObj = test.DeviceType() DeviceTypeObj.set_DeviceDescription(upnp_device.deviceType()) DeviceTypeObj.export(sys.stdout,1) I was expecting a result similar to: <test:DeviceType> <test:DeviceDescription> *<upnp_device:deviceType>* * ...* * </upnp_device:deviceType>* </test:DeviceType> But for now the output looks like: <test:DeviceType> <test:DeviceDescription> * <upnp_device.deviceType object at 0xb6d7b9cc>* </alicante:DeviceDescription> </test:DeviceType> To generate the classes I use an script similar to ( See attached the test.xsd source file): generateDS.py -f --no-process-includes -o test.py test.xsd generateDS.py -f --no-process-includes -o upnp_device.py upnp_device.xsd Thanks in advance for any help, hint or link, Regards! Enrique
test.xsd
Description: application/xsd
------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users