Re: Does ElementTree's Parent XPath actually work?

2012-03-09 Thread Jason Cooper
On Friday, March 9, 2012 12:24:04 PM UTC-5, Jason Cooper wrote: > I'm curious to know if anyone with ElementTree 1.3 has gotten the parent > XPath to work? According to http://effbot.org/zone/element-xpath.htm, you > should be able to do > > >>> impor

Does ElementTree's Parent XPath actually work?

2012-03-09 Thread Jason Cooper
I'm curious to know if anyone with ElementTree 1.3 has gotten the parent XPath to work? According to http://effbot.org/zone/element-xpath.htm, you should be able to do >>> import xml.etree.ElementTree as et >>> et.VERSION '1.3.0' ... >>> elem.find('..') >>> but that always return