Re: xml.etree.ElementTree and XPath

2008-10-18 Thread Stefan Behnel
xkenneth wrote: > Can I execute XPath queries on ElementTree objects ignoring the > namespace? IE './node' instead of './{http://namespace.com}node'. The XPath support in ET is very limited. You can use lxml.etree instead, which has full support for XPath 1.0, i.e. you can do tree.xpath('

xml.etree.ElementTree and XPath

2008-10-18 Thread xkenneth
All, Can I execute XPath queries on ElementTree objects ignoring the namespace? IE './node' instead of './{http://namespace.com}node'. Is there any support for XPath and Minidom? Regards, Ken -- http://mail.python.org/mailman/listinfo/python-list