Hello,
we are trying to create several tables in a loop using a docx template with Mustache. The structure is as followed (see attached docx for exact structure):
{{#foreach dataTables}}
Table 1
Table 2
Table 3
Table 4
Table 5
{{/foreach dataTables}}
Judging by Mail Merge Template from Mustache Syntax in C#|Aspose.Words for .NET I think that should be possible. However for this template we are getting the error message “Found start of mail merge region ‘dataTables’ without matching end.”
Any advice on what we are doing wrong in our template would be highly appreciated.
Note: We are using aspose-words jdk16 20.8
template.docx (283.3 KB)