${word}

% for rd in rds: ${makerow(rd)} % endfor
<%def name="makerow(row)"> % for name in row: ${row[name]}\ % endfor