[Tutor] xml.etree.ElementTree.parse() against a XMLShema file
karim.liateni at free.fr
Wed Dec 22 22:09:30 CET 2010
Thanks Stefan for answering.
That's what I come up with.
Using lxml (except for the different import) will be fully compliant
with the ET code.
Do I have to adapt it?
I saw your fantastic benchmarks! Why the hell lxml is not integrated
into the stdlib.
I thought they put in it things which works at best for python interest ?
On 12/22/2010 09:56 PM, Stefan Behnel wrote:
> Karim, 22.12.2010 19:28:
>> On 12/22/2010 07:07 PM, Karim wrote:
>>> Is somebody has an example of the way to parse an xml file against a
>>> "grammary" file.xsd.
>> I found this:
>> Stefan is it still true the limitation of etree in python 2.7.1 ?
> Yes, ElementTree (which is in Python's stdlib) and lxml.etree are
> separate implementations. If you want validation, use the lxml package.
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
More information about the Tutor