line_mode renderer to xml renderer