Revision 6754
Added by Aaron Marcuse-Kubitza about 12 years ago
lib/xml_func.py | ||
---|---|---|
12 | 12 |
import exc |
13 | 13 |
import format |
14 | 14 |
import maps |
15 |
import scalar |
|
15 | 16 |
import sql |
16 | 17 |
import sql_io |
17 | 18 |
import strings |
... | ... | |
92 | 93 |
|
93 | 94 |
def is_xml_func(node): return is_xml_func_name(node.tagName) |
94 | 95 |
|
96 |
def is_scalar(value): return scalar.is_scalar(value) and not is_var_name(value) |
|
97 |
|
|
95 | 98 |
def passthru(node): |
96 | 99 |
'''Passes through single child node. First prunes the node.''' |
97 | 100 |
xml_dom.prune(node) |
Also available in: Unified diff
xml_func.py: Added is_scalar()