Validating cElementTrees with lxml

John Machin sjmachin at
Sun Feb 17 07:41:24 CET 2008

On Feb 17, 3:23 pm, Ryan K <ryankas... at> wrote:
> If I have a cElementTree.ElementTree (or the one from the Standard
> Library), can I use lxml's validation features on it since it
> implements the same ElementTree API?

I've not used lxml ... the answer depends on whether the lxml
validation features use only the published API when accessing the

Why not build your tree with lxml?

More information about the Python-list mailing list