Any template will be processed and output plain text. What this "text" means is up to you. It can be a HTML page, a XML, a properties file or even a CSV.
You could write a scala template as simple as
@(items: Seq[MyItemModel])
My Field A; My Field B; My Field C; My Field D
@for(item <- items) {@item.fieldA;@item.fieldB;@item.fieldC;@item.fieldD
}
That would output, for instance,
My Field A; My Field B; My Field C; My Field D
ValueA1;ValueB1;ValueC1;ValueD1
ValueA2;ValueB2;ValueC2;ValueD2
ValueA3;ValueB3;ValueC3;ValueD3
ValueA4;ValueB4;ValueC4;ValueD4