Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Jan 22, 2019 4:20 pm

Hello,

I have been having issues with getting a report worked out with a Word template. My data is coming from an xml file.

I have some code working that repeats the TableRow I want, the TableRow gets Cloned the correct number of times. However, it only prints the first record on each of the TableRows.

I have one Table and trying to Clone the TableRow included in the template.

I feel I am going about this wrong and there is a better way, or at least a way I can get this project done.

Sorry that I am not getting too much detail on my issues I am having, I feel I have a very basic understanding on how Spire.Doc works with using a Template and using an xml file as a data source.

Thank you for any help you can offer, even if it is getting over a hump.

Charles

Sencreate
 
Posts: 1
Joined: Mon Oct 22, 2018 1:27 pm

Wed Jan 23, 2019 3:24 am

Hi Charles,

Thanks for your inquiry.
To help us solve your issue accurately and quickly, please provide us with your Word template, XML file, the code you were using and the desired result. Then I will provide the corresponding code for you. You could upload the files here or send them to [email protected] via email.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Doc