Thanks for posting a pdf project here. After going through your intial description i've come to conclusion that, you need a such a template where you can place the data. Yes sir, we've the solutionf for you. We can create a dynamic pdf template as per the layout, where you just import the xml data and it will automatically placed and will add page whenever it cross the existing page. I mean no need to add page. Suppose you've data of more than 5 pages and the template is just 2 pages. When you place the data this existing pdf file will automatically add pages after page. no need to add pages manually, like ms word features. More details will be provided after getting a positive response from you. We're doing this sort of project for the last 1 years.