[lxml-dev] Fun With Sequencing
Tennis Smith
tennis at tripit.com
Wed Mar 11 17:25:33 CET 2009
Hi,
I am generating xml files (for test purposes) that will be validated
with a schema which uses "xs:sequence". The result is that my docs have
to have exactly the right sequence of elements or it will not validate.
Its going to be a pain to re-parse the schema file and then use the
munged data to sort my xml docs. So, is there some way in lxml I can
dump the schema's contents and use that to make sure I have everything
in order *before* I try to validate? Failing that, are there any
suggestions?
Thanks
-T
More information about the lxml-dev
mailing list