Revision 6400
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/xml_func.py | ||
---|---|---|
240 | 240 |
try: name = params['name'] |
241 | 241 |
except KeyError, e: raise SyntaxError(e) |
242 | 242 |
|
243 |
xml_dom.replace(node, os.environ[name]) |
|
243 |
xml_dom.replace_with_text(node, os.environ[name])
|
|
244 | 244 |
simplifying_funcs['_env'] = _env |
245 | 245 |
|
246 | 246 |
##### XML functions |
Also available in: Unified diff
xml_func.py: _env(): Fixed bug where need to use xml_dom.replace_with_text() instead of xml_dom.replace() because replace() requires a DOM node