Dear Dave Kuhlman,

I'm trying to use your generateDS software in order to create an useful 
class structure to handle a set of XML/XSD files of mine.

Here below the links to my first test case:

XSD
http://cosmos.iasf-milano.inaf.it/luigi/projects/fase/data/xml/DataEntities-v0.1.xsd

XML
http://cosmos.iasf-milano.inaf.it/luigi/projects/fase/data/xml/DataEntitySetExample.xml


I've generated the data structure for the XSD schema using this command:

generateDS.py -f -o dataentity.py --root-element="DataEntitySet" 
DataEntities-v0.1.xsd

Then I've tried to parse the XML document instance:

 >>> import dataentity
 >>> dsex=dataentity.parse("DataEntitySetExample.xml")
<?xml version="1.0" ?>
<DataEntity>
     <Description>Test</Description>
</DataEntity>

How you can see, the imported structure is far far away from the real 
document. Can you tell me whether it is a limit of generateDS or I 
should use another command to generate my module?

Thanks in advance.

Luigi

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
generateds-users mailing list
generateds-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/generateds-users

Reply via email to