> BTW, from the POV of objectify, generating Python classes from a schema would
> basically mean infering a document instance from an XML Schema (sort of a
> meta-model to model transformation). I find that an interesting relation, but
> maybe that's just me...

It's just you. It would *not* be a meta-model to model transformation, 
but a meta-model-to-meta-model one. The schema defines a type system,
just as a set of Python classes does. Instances of the schema (i.e.
a document) then correspond to a set of instances of these classes.

It's a very natural thing to do, and has been done in other languages
dozens of time. It gives the term "document type" a true representation
in the programming language.

Regards,
Martin
_______________________________________________
XML-SIG maillist  -  XML-SIG@python.org
http://mail.python.org/mailman/listinfo/xml-sig

Reply via email to