def output_xml(data, code, headers=None):
resp = make_response(dumps({'<STR_LIT>' :data}), code)<EOL>resp.headers.extend(headers or {})<EOL>return resp<EOL>
Makes a Flask response with a XML encoded body