Below is the code from my xsl file - I am getting three pages in total. Issue is I am having getting first table on seprate page and second table on seprate page. The first table should be on the actually on the very first page as there is lot of space at the bottom of first page(FYI - first page has some data). <xsl:when test="SUB_PRODUCT_ID= 'ZZZZ' and PRODUCT_ID = 'ZZ'"> <fo:table-row keep-with-next="always"> <fo:table-cell> </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell> </fo:table-cell> <fo:table-cell number-columns-spanned="4"> <fo:table table-layout="fixed" width="100%"> <fo:table-column column- width="proportional-column-width(1)"/> <fo:table-column column- width="proportional-column-width(1)"/> <fo:table-body> <fo:table-row keep-with-next="always"> <fo:table-cell> <fo:block space-before="8mm" text-align="start" font-size="7pt" font-weight="bold" keep-with-next.within- page="always" space-after.maximum = "6pt">Gesamtsumme netto </fo:block> </fo:table-cell> <fo:table-cell> <fo:block space-before="8mm" text-align="end" font-size="7pt" font-weight="bold" keep-with-next.within- page="always" space-before.minimum = "6pt" ><xsl:value-of select="BILLED_AMOUNT"/> </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row keep-with-next="always"> <fo:table-cell> <fo:block space-before="2mm" text-align="start" font-size="7pt" font-weight="bold" keep-with-next.within- page="always" space-after.maximum = "6pt" wrap-option="no-wrap">MwSt. </fo:block> </fo:table-cell> <fo:table-cell> <fo:block space-before="2mm" text-align="end" font-size="7pt" font-weight="bold" keep-with-next.within- page="always" space-before.minimum = "6pt" ><xsl:value-of select="TAX"/> </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row keep-with-next="always"> <fo:table-cell> <fo:block space-before="2mm" text-align="start" font-size="7pt" font-weight="bold" keep-with-next.within- page="always" space-after.maximum = "6pt" wrap-option="no-wrap">Summe brutto </fo:block> </fo:table-cell> <fo:table-cell> <fo:block space-before="2mm" text-align="end" font-size="7pt" font-weight="bold" keep-with-next.within- page="always" space-before.minimum = "6pt"><xsl:value-of select="AFTER_TAX_AMOUNT"/> </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:table-cell> </fo:table-row> <fo:table-row> <fo:table-cell> <xsl:if test= "position() != last() -1 " > <fo:block break-after="page"/> </xsl:if > <fo:table table-layout="fixed" padding- before="0.1in" padding-after="0.1in" padding-start="0.1in" padding-end="0.1in"> <fo:table-column column- width="3.5cm"/> <fo:table-body> <fo:table-row> <fo:table-cell number-columns-spanned="7"> <fo:block space-before="8mm" font-size="7pt" text- align="left">InvoiceText: <xsl:value-of select="INVOICE_TEXT"/> </fo:block> <fo:block space-before="2mm" font-size="7pt" text-align="left">Fund Type: <xsl:value-of select="FND_TYPE"/> </fo:block> <fo:block space-before="2mm" font-size="7pt" text- align="left">Payment Type: <xsl:value-of select="PMNT_TYPE"/> </fo:block> <fo:block space-before="2mm" font-size="7pt" text-align="left">Due Date: <xsl:value-of select="DUE_DATE"/> </fo:block> <fo:block space-before="2mm" font-size="7pt" text- align="left">Wire<xsl:value-of select="WIRE1"/> </fo:block> <fo:block space-before="2mm" font-size="7pt" text- align="left">Wire<xsl:value-of select="WIRE2"/> </fo:block> <fo:block space-before="2mm" font-size="7pt" text- align="left">Wire<xsl:value-of select="WIRE3"/> </fo:block> </fo:table- cell> </fo:table-row> </fo:table-body> </fo:table> </fo:table-cell> </fo:table-row> </xsl:when>
Fixed in FOP 0.94 and probably earlier versions
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed