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">
        <xsl:text>&#xA;</xsl:text>
    </fo:block>
</xsl:if>
??

Thx in advance
Christian


-----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.


David
Received on Monday, 5 December 2005 08:28:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:13 GMT