tweaking xml_utils.py for backslash stack up