💾 Archived View for tris.fyi › pydoc › xml.etree.ElementPath captured on 2023-01-29 at 04:19:36. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-07-16)

🚧 View Differences

-=-=-=-=-=-=-

Back to module index

Go to module by name

xml.etree

xml

xml.etree.ElementPath

This module has no docstring.

Functions

find

find(elem, path, namespaces=None)

findall

findall(elem, path, namespaces=None)

findtext

findtext(elem, path, default=None, namespaces=None)

get_parent_map

get_parent_map(context)

iterfind

iterfind(elem, path, namespaces=None)

prepare_child

prepare_child(next, token)

prepare_descendant

prepare_descendant(next, token)

prepare_parent

prepare_parent(next, token)

prepare_predicate

prepare_predicate(next, token)

prepare_self

prepare_self(next, token)

prepare_star

prepare_star(next, token)

xpath_tokenizer

xpath_tokenizer(pattern, namespaces=None)

Other members

ops = {'': <function prepare_child at 0x7f75e0ac7010>, '*': <function prepare_star at 0x7f75e0ac7130>, '.': <function prepare_self at 0x7f75e0ac6f80>, '..': <function prepare_parent at 0x7f75e0ac6a70>, '//': <function prepare_descendant at 0x7f75e0ac6ef0>, '[': <function prepare_predicate at 0x7f75e0ac6dd0>}
xpath_tokenizer_re = re.compile('(\'[^\']*\'|\\"[^\\"]*\\"|::|//?|\\.\\.|\\(\\)|!=|[/.*:\\[\\]\\(\\)@=])|((?:\\{[^}]+\\})?[^/\\[\\]\\(\\)@!=\\s]+)|\\s+')

Modules

re