Package lxml :: Module _elementpath
[hide private]
[frames] | no frames]

Module _elementpath

source code

Functions [hide private]
 
xpath_tokenizer(...)
findall(string[, pos[, endpos]]) --> list.
source code
 
prepare_tag(next, token) source code
 
prepare_star(next, token) source code
 
prepare_dot(next, token) source code
 
prepare_iter(next, token) source code
 
prepare_dot_dot(next, token) source code
 
prepare_predicate(next, token) source code
 
_build_path_iterator(path) source code
 
iterfind(elem, path) source code
 
find(elem, path) source code
 
findall(elem, path) source code
 
findtext(elem, path, default=None) source code
Variables [hide private]
  ops = {"": prepare_tag, "*": prepare_star, ".": prepare_dot, "...
  _cache = {}
Function Details [hide private]

xpath_tokenizer(...)

source code 

findall(string[, pos[, endpos]]) --> list. Return a list of all non-overlapping matches of pattern in string.


Variables Details [hide private]

ops

Value:
{"": prepare_tag, "*": prepare_star, ".": prepare_dot, "..": prepare_d\
ot_dot, "//": prepare_iter, "[": prepare_predicate,}