Revision 1815
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/xpath.py | ||
---|---|---|
228 | 228 |
children = [root] |
229 | 229 |
else: |
230 | 230 |
children = xml_dom.by_tag_name(root, elem.name, |
231 |
last_only and (elem.keys == [] or is_instance(elem))) |
|
231 |
last_only=(last_only and (elem.keys == [] or is_instance(elem))), |
|
232 |
ignore_namespace=False) # later set ignore_namespace to True? |
|
232 | 233 |
|
233 | 234 |
# Retrieve elem value |
234 | 235 |
value_ = elem.value |
Also available in: Unified diff
xpath.py: get(): Run xml_dom.by_tag_name() with ignore_namespace=False (possibly later set to True)