[lxml-dev] About objectify

David Soulayrol dsoulayrol at free.fr
Tue Jan 22 13:48:49 CET 2008


Hello,

I wanted to give a try to objectify, and while reading documentation,
I've seen that what I'd like to do involves using a schema for my XML
file, and the xsi namespace to specify element types.

Since I do discover at the same time the objectify particularities and
what is exactly a schema in details, I have some troubles to handle the
whole thing, and I'm not sure I do understand well everything from
documentation. The main problem is that if I do an error, for now I do
not know if I should try correct my schema, my XML file or my python
code.

Does anyone have a simple example with a short XML file containing some
elements, its schema, and the python code parsing the file using
objectify with the xsi namespace to do type association ?

Thanks,
-- 
David.



More information about the lxml-dev mailing list