I need to convert XML data into a PDF file. I want the end user to be able to influence the design and layout, so my plan is to allow the user to create a Word template, and convert XML data into this.
Simple example XML:Aspose Inc. Some streetname 23 12334 12 43122 44 56
Information in the tag should be visible in the top of each page.
The tag can appear 0-n times in the XML file. I plan to insert these data into a Word table defined by the user in the Word template file.
Information in the tag should be visible in the bottom of the last page.
After having populated the Word file, I would then save this as a PDF file.
Would this be a good approach?
- Any issues if the table holding the lines spread over several pages? (if data in a single cell is multi lines, this information must no be divided on different pages)
- Is it possible to insert data from the tag in the bottom of the last page?
Any suggestions / thoughts are greatly appreciated.