We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to fill data to generic word template?- Java


We have a requirement where need to fill data from XML to a word template. That template will contain image, text field,tables etc. and the no. of rows entered in table will be dynamic and based on the data we have in XML. Can we achieve this using aspose and if there any source code available for the same.

Anusha Jain

Hi Anusha,

Thanks for your inquiry. Yes, you can achieve your requirement using LINQ Reporting engine API. Please read following articles:
LINQ Reporting Engine API
Template Syntax
Working with Common Data Bands
Working with Table-Row Data Bands

If you still face problem, please share your XML, input and expected output documents here for our reference. We will then provide you more information about your query.