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

Free Support Forum - aspose.com

Current page number in XML to PDF

Hi,

We are exploring XML to PDF conversion and we gave a try to adding the current page number in the header of the generated PDF using the $p / $P in the item.

The generated PDF will show 1 / 3 for all 3 pages.

I attached the app we are using XmlToPdf.zip (5.4 KB).

Can you please let us know what are we doing wrong there?

Thank you!

@gwert,

We managed to replicate the problem of incorrect page numbering in our environment. An investigation has been logged under the ticket ID PDFNET-44806 in our bug tracking system. We have linked your post to this ticket and will keep you informed regarding any available updates.