Issue 1698167: xml.etree document element.tag (original) (raw)
Issue1698167
Created on 2007-04-11 06:25 by phr, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg31759 - (view) | Author: paul rubin (phr) | Date: 2007-04-11 06:25 |
The xml.etree docs vaguely mention an implementation-dependent Element interface without describing it in any detail. I could not figure out from the docs how to get the tag name of an element returned from (say) the getiterator interface. That is, for an element like , I wanted the string "foo". Examining the library source showed that e.tag does the job, at least some of the time, and that was enough to get my app working. Could the actual situation please be documented--thanks. | ||
msg31760 - (view) | Author: Fredrik Lundh (effbot) * ![]() |
Date: 2007-04-13 13:32 |
Looks like the entire Element section is missing from the current documentation. Thanks for reporting this; I'll take a look when I find the time. In the meantime, you'll find additional documentation here: http://effbot.org/zone/element.htm | ||
msg31761 - (view) | Author: dlocke (dlocke) | Date: 2007-08-17 18:56 |
I concur that any documentation about the Element object seems to be missing. Is there any timetable for getting this added to the documentation? | ||
msg59130 - (view) | Author: Fredrik Lundh (effbot) * ![]() |
Date: 2008-01-03 14:39 |
This is fixed in the development version, so I'm closing this for now. The updated docs can be found here: http://docs.python.org/dev/library/xml.etree.elementtree.html |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:23 | admin | set | github: 44828 |
2008-01-03 14:39:09 | effbot | set | status: open -> closedresolution: fixedmessages: + |
2007-04-11 06:25:59 | phr | create |