xml.etree Syntax of path?
Thomas Guettler
hv at tbz-pariv.de
Fri May 9 08:07:56 EDT 2008
Stefan Behnel schrieb:
> Thomas Guettler wrote:
>> I think the documentation of xml.etree is missing something[1].
>>
>> {{{
>> find(path)
>> Finds the first toplevel element with given tag. Same as
>> getroot().find(path). path is the element to look for.
>> }}}
>>
>> According to the source etree has limited support for xpath. I think it
>> should be documented what 'path' should look like to.
>
> You mean like this?
>
> http://effbot.org/zone/element-xpath.htm
Yes, since etree is part of the standard library, the documentation
should be there, too. Or at least a link should be provided.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
More information about the Python-list
mailing list