Revision 6431
Added by Aaron Marcuse-Kubitza about 12 years ago
xml_func.py | ||
---|---|---|
182 | 182 |
|
183 | 183 |
#### Logic |
184 | 184 |
|
185 |
simplifying_funcs['_and'] = passthru |
|
186 |
simplifying_funcs['_or'] = passthru |
|
187 |
|
|
185 | 188 |
def _exists(node): |
186 | 189 |
'''Returns whether its node is non-empty''' |
187 | 190 |
xml_dom.replace_with_text(node, not xml_dom.is_empty(node)) |
Also available in: Unified diff
xml_func.py: Simplifying functions: Added passthru entries for _and, _or