💾 Archived View for tris.fyi › pydoc › xml.etree.ElementPath captured on 2022-07-16 at 15:05:23. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
This module has no docstring.
find(elem, path, namespaces=None)
findall(elem, path, namespaces=None)
findtext(elem, path, default=None, namespaces=None)
get_parent_map(context)
iterfind(elem, path, namespaces=None)
prepare_child(next, token)
prepare_descendant(next, token)
prepare_parent(next, token)
prepare_predicate(next, token)
prepare_self(next, token)
prepare_star(next, token)
xpath_tokenizer(pattern, namespaces=None)
ops = {'': <function prepare_child at 0x7f92bda64550>, '*': <function prepare_star at 0x7f92bda64160>, '.': <function prepare_self at 0x7f92bda64310>, '..': <function prepare_parent at 0x7f92bda619d0>, '//': <function prepare_descendant at 0x7f92bda641f0>, '[': <function prepare_predicate at 0x7f92bda61d30>}
xpath_tokenizer_re = re.compile('(\'[^\']*\'|\\"[^\\"]*\\"|::|//?|\\.\\.|\\(\\)|[/.*:\\[\\]\\(\\)@=])|((?:\\{[^}]+\\})?[^/\\[\\]\\(\\)@=\\s]+)|\\s+')