<?Surf version="1.0" encoding="utf-8"?> <fo:root Surfns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master page-height="11in" page-width="8.5in" margin-left="1.0in" margin-top="0.2in" margin-bottom="1.0in" margin-right="1.0in" master-name="test-page-master"> <fo:region-body margin-left="1.0in" margin-top="0.2in" margin-right="1.0in" margin-bottom="1.0in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-name="test-page-master"> <fo:flow flow-name="xsl-region-body"> <fo:table> <fo:table-column column-width="5.0in"/> <fo:table-column column-width="5.0in"/> <fo:table-column column-width="5.0in"/> <fo:table-body> <fo:table-row break-after="page" background-color="red"> <fo:table-cell> <fo:block>This test generate three pages. This text should appear on the first page.</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row break-after="odd-page" background-color="red"> <fo:table-cell> <fo:block>This text should appear on the second.</fo:block> </fo:table-cell> </fo:table-row> <fo:table-row background-color="red"> <fo:table-cell> <fo:block>This text should appear on the third.</fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:flow> </fo:page-sequence> </fo:root>