XML-XSD Processing/Creation.

Stefan Behnel stefan.behnel-n05pAM at web.de
Thu Jan 3 08:55:26 CET 2008


paul wrote:
>> Can i create python classes based off the XSD files? What else can I
>> do with the XSD files? 
> This might be worth looking at: http://www.rexx.com/~dkuhlman/#generateDS

If it's really such a complex XML language, the tool above might or might not
be of any help, as it doesn't support the whole XSD standard (and XML Schema
is very complex). It's worth a try, but don't expect too much.

The lxml way of dealing with XML languages is namespace implementation:

http://codespeak.net/lxml/dev/element_classes.html#id1

However, there isn't currently a way to automatically bootstrap an
implementation, especially not in XSD, so it depends on the language how much
work it will be to get this to a usable state.

Stefan



More information about the Python-list mailing list