I am trying to get PrinceXML to output a single PDF using multiple input HTML files. I would like each input to have it's own page numbering system consisting of 'Page x of y`. Getting `x` is of input HTML file is easy. Getting `y` (the total number of pages in just that specific input HTML file) eludes my technical abilities.
Any help to accomplish this with PrinceXML would very much appreciated.
The obvious solution would be to use PrinceXML to render these input HTML files separately and then merge the output PDF's into a single PDF. However, I am looking for a PrinceXML solution to this problem.
Any help to accomplish this with PrinceXML would very much appreciated.
The obvious solution would be to use PrinceXML to render these input HTML files separately and then merge the output PDF's into a single PDF. However, I am looking for a PrinceXML solution to this problem.