Jump to content

Saving Page Number as a Variable


scopley
 Share

Recommended Posts

I need to test the value of the last page number in a section. I have the fo:page-number-citation ref-id set and it is pulling the correct value, however I would like to save that value into a variable so that I can use it in xsl:if. Is there a way to save that into a variable?Any help would be greatly appreciated.

Link to comment
Share on other sites

Thanks so much for your response. I didn't think you could but thought I would give it a try. I'm try to create a different footer on the last page of a section IF the last page is odd. I've tried it with pagemasters but can only get it to work on page-postion first, it won't recognize page-position last.Oh Well back to the drawing board. Thanks again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...