W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2005

How to use page-number in xsl:if

From: Buchinger Christian <Christian.Buchinger@patent.bmvit.gv.at>
Date: Fri, 2 Dec 2005 13:26:10 +0100
Message-ID: <A72E572136C44D41BEAF29384CDCCD7FEDC95B@OEPAMXS00.intra.patentamt.at>
To: <www-xsl-fo@w3.org>
Is it possible to use the page-number in xsl:if??
What i tried was to insert a blank page if the current page mod 2 = 0
because i had no other idea to start a new page-sequence on an odd page.
<xsl:if test="fo:page-number mod 2 = 0">
    <fo:block break-after="page">
I would appreciate any ideas.
Received on Sunday, 4 December 2005 02:12:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:10:03 UTC