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

AW: How to use page-number in xsl:if

From: Buchinger Christian <Christian.Buchinger@patent.bmvit.gv.at>
Date: Mon, 5 Dec 2005 09:27:49 +0100
Message-ID: <A72E572136C44D41BEAF29384CDCCD7FEDC95D@OEPAMXS00.intra.patentamt.at>
To: <www-xsl-fo@w3.org>

Thanks for the answer.

I already tried that but the blank page should not contain the page header (which comes from the preceding sequence).

Is there any way to insert just a really blank page OR use the current pagenumber to calculate if a blank page is necessary  as i tried with 
<xsl:if test="fo:page-number mod 2 = 0">
    <fo:block break-after="page">

Thx in advance

-----Ursprüngliche Nachricht-----
Von: www-xsl-fo-request@w3.org [mailto:www-xsl-fo-request@w3.org] Im Auftrag von David Tolpin
Gesendet: Sonntag, 4. Dezember 2005 09:46
An: Buchinger Christian
Cc: www-xsl-fo@w3.org
Betreff: Re: How to use page-number in xsl:if

>  i had no other idea to start a new page-sequence on an odd page.

force-page-count="even" on the preceding sequence does that.

Received on Monday, 5 December 2005 08:28:47 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:58:30 UTC