[BangPypers] ElementTree nodes

Noufal Ibrahim noufal at gmail.com
Sun Oct 25 20:01:15 CET 2009


On Mon, Oct 26, 2009 at 12:20 AM, bhaskar jain
<bhaskar.jain2002 at gmail.com> wrote:
>
>>>Does anyone have experience here with elementree? Why does a valid
>>>node evaluate to False?
>
> I dont know elementtree but recently had to do some xml work. I found
> xml.dom.minidom to be quite good though elementtree and lxml are quite
> popular .
> I dont get the same results as you.


Can you try this with an element that has zero children? From effbot's
docs, I think that's the difference.



-- 
~noufal
http://nibrahim.net.in


More information about the BangPypers mailing list