[lxml-dev] XML Schemas (XSD) and Objectification
Stefan Behnel
stefan_ml at behnel.de
Fri Jan 4 22:45:02 CET 2008
Hi,
Kenneth Miller wrote:
> Is there any way to use an XSD file to generate an object in
> python using Objectify?
Hmm, lxml.objectify actually works "as is", based on the XML document itself
(i.e. an 'instance' of the schema), but without any schema interaction. What
are you trying to achieve? Type enforcement based on schema types?
Or do you mean 'generate an object' in the sense that you want to map an
objectify object to a plain Python object?
Stefan
More information about the lxml-dev
mailing list