Abel, J.Pietschmann, thank you both very much for your detailed help, you brought me back on the tracks and I've learned much new!
I found a forth solution that works well for me and could be a solution for others complaining about the problem of unwanted blank pages when inserting pagebreaks using break-before="page": instead of: <xsl:template match="a/b/c"> <xsl:if test="position() > 1"><fo:block break-before="page"/></xsl:if> <fo:block> (content) </fo:block> </xsl:for-each> </xsl:template I chose to do <xsl:template match="a/b"> <xsl:for-each select="c"> <fo:block break-before="page"> (content) </fo:block> </xsl:for-each> </xsl:template This way, FOP automatically seems to recognise, that for the very first element "c" there is no page-break needed. A test for the position is not needed. It may not be applicable in all situations, but for me this works perfect. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
