XSL :: page value assignment

Joined
Jun 8, 2022
Messages
1
Reaction score
0
Need to add continue in footer if page exceeding 1 and restrict it from last page.
but in xslt we are not able to assign the page value, also not able to restrict it. kindly help

<xsl:variable name="vPageNumber"><xsl:value-of
select="fo:page-number"/></xsl:variable>
<xsl:variable name="lastpage"><xsl:value-of
select="fo:page-number-citation-last"/></xsl:variable>

<xsl:choose>
<xsl:when test="$vPageNumber = $lastpage">
<fo:block font-size="10pt" font-family="Arial" color="#000000" text-align="left">last page
</fo:block>
</xsl:when>
<xsl:eek:therwise>
<fo:block font-size="10pt" font-family="Arial" color="#000000" text-align="left">Continued
/fo:block>
</xsl:eek:therwise>
</xsl:choose>

this is not working.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top