Thanks for your inquiry.
i have to write something like this:
<<foreach [in identity]>><<[id]>><> <<foreach [in issue]>><<[title]>><> <<foreach [in identity]>><<[name]>><>
Please note that old mail merge engine and new linq mail merge engine are different. In your scenario, you need to write the template as explained in my previous post.
To load xml in DataSet and perform mail merge operation is about ‘Working With Traditional Mail merge Data Sources’. Please read following links for your kind reference.
Please note that there is no such class like DataSet in Java API which read the xml file. Aspose.Words for Java introduced this feature to load the xml in DataSet same as .NET does. Please check : https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/dataset-datatable-dataview/loading-a-dataset-from-xml
You are working with XML data source. So, you need to create the template as shown in my previous post.
but it should work simply like this (“old” Mail Merge with XmlDataSet even can handle it this way)
The code example XmlDataSet implements IMailMergeDataSource interface. Implement this interface to allow mail merge from a custom data source, such as a list of objects. Master-detail data is also supported.
The XmlMailMergeDataTable handle one table at a time. The implementation of IMailMergeDataSource getChildDataSource handles this scenario (<<[identity.id]>><<[issue.title]>><<[identity.name]>>).
new Linq reporting engine is different from classic mail merge engine. Please note that the IMailMergeDataSource is not supported by LINQ Reporting Engine by design.