Can we somehow determine the position of the last-page in XSL-FO? If I want to place my footer only on the last page, then how it could be done? As Input data varies and is not
Hope, it's not too late. But anyway, for all interested people:
Create a page master
...
and put your footer as a "region-after" into that master.
Add this to your repeatable-page-master-alternatives