CVS: jfor/samples/cocoon/tests/keep-with tables-keep-with.fo.xml,NONE,1.1

Marra Roberto <[email protected]> Tue, 25 Jun 2002 06:30:00 -0700
Newsgroups gmane.text.xml.jfor.cvs
Message-ID <[email protected]>
Update of /cvsroot/jfor/jfor/samples/cocoon/tests/keep-with
In directory usw-pr-cvs1:/tmp/cvs-serv27074

Added Files:
	tables-keep-with.fo.xml 
Log Message:
initial check-in

--- NEW FILE: tables-keep-with.fo.xml ---
<?xml version="1.0" encoding="iso-8859-1"?>

<!-- tell cocoon to use jfor to convert this to RTF format -->
<?cocoon-format type="xslfo/rtf"?>

<fo:root xmlns:html="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:layout-master-set>
    <fo:simple-page-master margin-right="1.5cm" margin-left="1.5cm" margin-bottom="0.3cm" margin-top="0.1cm" page-width="21cm" page-height="29.7cm" master-name="first">
      <fo:region-body margin-top="2.0cm"/>
      <fo:region-before extent="0.5cm"/>
      <fo:region-after extent="0.5cm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-name="first">
    <fo:flow flow-name="xsl-region-body">
      <fo:block font-weight="bold">jfor keep-with-next and keep-with-previous test document.</fo:block>
      <fo:block>This test demonstrates usage of keep-with-next and keep-with-previous. All rows using a keep-with-next attribute, must be on the same page as all fallowing rows until a keep-with-previous attribute is reached</fo:block>
    
       
     
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      


      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
            <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
            <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
            <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
            <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
            <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
            <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
            <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
            <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
            <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
            <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
            <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      
       <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="50mm"/>
         <fo:table-column column-width="50mm"/> 
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-next="always">
            <fo:table-cell ><fo:block>keep-whith-next</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as next row,This row must be on the same page as next row</fo:block></fo:table-cell>
              <fo:table-cell >
		              <fo:table>
				        <fo:table-column column-width="50mm"/>
				        <fo:table-body>
				          <fo:table-row >
				            <fo:table-cell ><fo:block>simple nested table</fo:block></fo:table-cell>
				          </fo:table-row>
				        </fo:table-body>
				      </fo:table>
              </fo:table-cell >
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
           </fo:table-row>
        </fo:table-body>
      </fo:table>
   
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row >
            <fo:table-cell ><fo:block>no keep-whith </fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>On this riw keep-with is not set. This row must be on the same page as next row because is between a keep-with-next and a keep-with-previous</fo:block></fo:table-cell>
             <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>
      
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-width="100mm"/>
        <fo:table-column column-width="30mm"/>
        <fo:table-body>
          <fo:table-row keep-with-previous="always">
            <fo:table-cell ><fo:block>keep-whith-previous</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>This row must be on the same page as previous row</fo:block></fo:table-cell>
              <fo:table-cell ><fo:block>simple text</fo:block></fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      </fo:table>

     
      
      <fo:block id="terminator">end of test document</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/