Reputation: 565
I'm using smooks/freemarker to write out a CSV and I can use applyOnElement="#document"
to write the column headers. But I also need to add a line to the end of the document, after all of my objects have been processed.
Is there a way to trigger something at the end of the #document
object?
Upvotes: 0
Views: 76
Reputation: 284
So you have set applyBefore="true" on the #document element? If so, I think you'll need to apply another Freemarker template (use another config) to the #document element, but with the applyBefore="false" (i.e. the default).
Upvotes: 0