Revision 3940
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/xml_func.py | ||
---|---|---|
176 | 176 |
funcs['_eq'] = _eq |
177 | 177 |
|
178 | 178 |
def _if(items, node): |
179 |
'''Can add `name` param to distinguish separate _if statements'''
|
|
179 |
'''Can add `@name` attr to distinguish separate _if statements'''
|
|
180 | 180 |
items = dict(items) |
181 | 181 |
then = items.get('then', None) |
182 | 182 |
cond = items.get('cond', None) |
Also available in: Unified diff
xml_func.py: _if(): Changed documentation about name param for distinguishing separate _if statements to use @name attribute instead, so that the XML/SQL function mechanism doesn't have to deal with code that's solely for XPath merging