xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal SANCHO <pascal.san...@takoma.fr>
Subject Re: Assign <fo:page-number/> to xsl:variable
Date Thu, 17 Sep 2009 11:20:31 GMT

k deepthi a écrit :
> Hi Team,
> I have a requirement to assign the current page number to an 
> xsl:variable and to check a condition related to that. Please help me 
> how can I assign the page number to a variable.
> Regards
> Deepthi.
XML to PDF conversion can be interpreted as 2 independant stages:
1/ XML to XSLFO stage: XSL variables are assigned during this stage
2/ XSLFO to PDF stage: page numbers are determined during this stage.

Therefore you cannot assign a page-number to an XSL variable.

You should explain what you want to get or do, since other ways can be 
visited (fo:conditional-page-master-reference, post-processing with 
itext, work on FOP Intermediate Format, etc.)


To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message