This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2008年05月15日 14:49 by guettli, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| xpath_examples.diff | mbone, 2010年07月20日 03:34 | |||
| 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) * (Python committer) | Date: 2010年08月08日 22:22 | |
There's another issue about lack of documentation on this topic. See #6488. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:34 | admin | set | github: 47113 |
| 2010年08月08日 22:22:24 | flox | set | status: open -> closed resolution: duplicate messages: + msg113344 assignee: docs@python -> superseder: ElementTree documentation refers to "path" with no explanation, and inconsistently |
| 2010年07月25日 10:10:13 | BreamoreBoy | set | assignee: effbot -> docs@python nosy: - effbot |
| 2010年07月20日 03:34:47 | mbone | set | files:
+ xpath_examples.diff nosy: + mbone messages: + msg110857 keywords: + patch |
| 2010年07月11日 14:28:57 | ezio.melotti | set | nosy:
+ docs@python stage: needs patch |
| 2010年07月11日 14:24:43 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg110015 |
| 2010年02月27日 12:34:19 | littlemog | set | nosy:
+ littlemog |
| 2010年02月19日 22:59:59 | flox | set | nosy:
+ effbot, flox versions: + Python 2.7, Python 3.2 priority: normal assignee: georg.brandl -> effbot keywords: + easy |
| 2008年05月15日 14:49:49 | guettli | create | |