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.3.1 : Tuesday, 6 January 2015 20:58:30 UTC