Can anyone help with this? I'm trying to print an address element only on
the first page of a document:
<fo:static-content flow-name="xsl-region-before">
<fo:block font-weight="bold"
Invoice page <fo:page-number/>
</fo:block>
<xsl:if test="fo:page-number = 1">
<xsl:call-template name="address" />
</xsl:if>
</fo:static-content>
The page number prints correctly, but the xsl:if is always false. I've
tried a lot of googling, but even seemingly on-point posts such as
http://www.dpawson.co.uk/xsl/sect3/N8703.html don't work with my fop 0.20.5
--
View this message in context:
http://www.nabble.com/How-to-use-%3Cfo%3Apage-number-%3E-in-%3Cxsl%3Aif%3E---Eg.-%22if-page-%3D%3D-1%22.-tf3421094.html#a9535255
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]