Revision 1342
Added by Aaron Marcuse-Kubitza almost 13 years ago
lib/xpath.py | ||
---|---|---|
6 | 6 |
from Parser import Parser |
7 | 7 |
import util |
8 | 8 |
import xml_dom |
9 |
import xpath_func |
|
9 | 10 |
|
10 | 11 |
##### Path elements |
11 | 12 |
|
... | ... | |
181 | 182 |
|
182 | 183 |
path = _path() |
183 | 184 |
parser.end() |
185 |
path = xpath_func.process(path) |
|
184 | 186 |
_cache[str_] = path |
185 | 187 |
return path |
186 | 188 |
|
Also available in: Unified diff
xpath.py: parse(): Run xpath_func.process() on the parsed XPath