THANKS!!! This force-page-count="no-force" property fixed my problem.
-----Original Message----- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 2:36 AM To: [EMAIL PROTECTED] Subject: Re: Page break in different version of fop >From: Nishma Jain <[EMAIL PROTECTED]> > >I have been using fop 0.20.4 since couple of months and my page break have >been working fine. Recently I switched to fop 0.20.5 since I wanted to add >password protection for my pdf document. I'm using the same xsl which I >used >with older version. Using this latest version of fop, some extra blank >pages >are getting added in the document. Is it a bug or normal behavior for this >version? This is normal behaviour. The default value for force-page-count property on fo:page-sequence changed in version 0.20.5 to "auto" You will have to set it to "no-force" This is a FAQ, see for more details; http://xml.apache.org/fop/faq.html#blank-page-between-page-sequences <snip/> > <xsl:template match="Statement"> > <fo:page-sequence initial-page-number="1" >master-reference="default-page"> //Start each st with page 1 You will have to add force-page-count="no-force" to your page-sequence elements. <snip/> Chris _________________________________________________________________ Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
