Issue 2864: etree: Add XPath documentation (original ) (raw ) This issue has been migrated to GitHub: https://github.com/python/cpython/issues/47113
classification
process
Status :
closed
Resolution :
duplicate
Dependencies :
Superseder :
ElementTree documentation refers to "path" with no explanation, and inconsistently View:[6488](issue6488 "ElementTree documentation refers to "path" with no explanation, and inconsistently")
Assigned To :
Nosy List :
BreamoreBoy, docs@python, flox, georg.brandl, guettli, littlemog, mbone
Priority :
normal
Keywords :
easy, patch
Created on 2008-05-15 14:49 by guettli , last changed 2022-04-11 14:56 by admin . This issue is now closed .
Messages (4)
msg66863 - (view)
Author: Thomas Guettler (guettli) *
Date: 2008-05-15 14:49
The current documentation of etree [1] does not explain the syntax of the supported xpaths. [1] current documation: http://docs.python.org/lib/elementtree-elementtree-objects.html [2] ElementTree supported XPath: http://effbot.org/zone/element-xpath.htm It would be very nice to have some simple examples for myetree.find(xpath).
msg110015 - (view)
Author: Mark Lawrence (BreamoreBoy) *
Date: 2010-07-11 14:24
Shouldn't this be assigned to docs@python ?
msg110857 - (view)
Author: Matt Bone (mbone)
Date: 2010-07-20 03:34
Here's a patch for 3.2 with some simple examples. They're under the ElementTree findall method. Maybe there should be similar examples for Element's find/findall methods?
msg113344 - (view)
Author: Florent Xicluna (flox) *
Date: 2010-08-08 22:22
There's another issue about lack of documentation on this topic. See #6488 .