On Mon, Oct 26, 2009 at 12:20 AM, bhaskar jain <bhaskar.jain2...@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 _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers