Nested Mail merge with Collection

Hi,
Is is possible to do a nested mail merge using collections. In the sample code its selecting direct for the database tables, can we implement a dataset based on a collection for nested mail merge?
Thanks,
Eamonn

Hi
Thanks for your request. Sure, you can use a collection as a data source for mail merge with regions and nested mail merge. To achieve this, I think, you should use IMailMergeDatasource. Please see the following link for more information:
https://reference.aspose.com/words/java/com.aspose.words/IMailMergeDataSource
Hope this helps.
Best regards,