You could also try pyXSD (pyxsd.org) as a starting point. It does much of what you describe. -Karl
2008/1/27 Good Z <[EMAIL PROTECTED]>: > > Hello, > I need to write an application to convert XML schema (.xsd) to a data > structure then using this data structure and the data from some other files, > generate an XML file. > > I have seen generateDS and pyfo library that can be combined to write this > application but my problem is that i somehow do not like DOM and would like > to write this in ElementTree. I wonder if anyone can point me how to write > this quickly in ElementTree or someone has already done this effort. > > Regards, > Mike. > > ________________________________ > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. > _______________________________________________ > XML-SIG maillist - XML-SIG@python.org > http://mail.python.org/mailman/listinfo/xml-sig > > _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig