Project

General

Profile

« Previous | Next » 

Revision 6400

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

View differences:

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