idix
idix

Reputation: 33

XSL FO different footer for every page

I need to add a picture with encoded page number info on footer of every page. I know I could make multiple page sequences (more than 20 in this case) with different footers, but is there any way to do this with just 1 page sequence?
My first idea was multiple ifs in region-after definition, something like:

if page-number = 1
then page1.png
if page-number = 2
then page2.png

etc., but the way <fo:page-number/> works is that I can't use it like a normal number variable, so do you have any suggestions how to make it work?

Upvotes: 0

Views: 47

Answers (0)

Related Questions