Validating cElementTrees with lxml

John Machin sjmachin at lexicon.net
Sun Feb 17 01:41:24 EST 2008


On Feb 17, 3:23 pm, Ryan K <ryankas... at gmail.com> 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
tree.

Why not build your tree with lxml?




More information about the Python-list mailing list