Re: Validating cElementTrees with lxml

2008-02-16 Thread Stefan Behnel
Hi, Ryan K 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? Not directly. lxml and cElementTree use different tree models internally, so you can't just apply C-impleme

Re: Validating cElementTrees with lxml

2008-02-16 Thread John Machin
On Feb 17, 3:23 pm, Ryan K <[EMAIL PROTECTED]> 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 validati

Validating cElementTrees with lxml

2008-02-16 Thread Ryan K
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? Thanks, Ryan -- http://mail.python.org/mailman/listinfo/python-list