title: xsl-fo empty table body (validation exception)
body: <p>I am using the following transformation to create a table from XML</p>
  
  <pre><code>&lt;fo:table table-layout="fixed" width="100%"&gt;
      &lt;fo:table-header&gt;
          &lt;fo:table-row text-align="right" font-weight="bold"&gt;
              &lt;fo:table-cell column-number="2" text-align="center"&gt;
                  &lt;fo:block&gt;ColA&lt;/fo:block&gt;
              &lt;/fo:table-cell&gt;
              &lt;fo:table-cell column-number="3" text-align="center"&gt;
                  &lt;fo:block&gt;Name&lt;/fo:block&gt;
              &lt;/fo:table-cell&gt;
              &lt;fo:table-cell column-number="4"&gt;
                  &lt;fo:block color="red"&gt;ColB&lt;/fo:block&gt;
              &lt;/fo:table-cell&gt;
              &lt;fo:table-cell column-number="5" text-align="center"
                  color="red"&gt;
                  &lt;fo:block width="1cm"&gt;%&lt;/fo:block&gt;
              &lt;/fo:table-cell&gt;
          &lt;/fo:table-row&gt;
      &lt;/fo:table-header&gt;
      &lt;fo:table-body&gt;
          &lt;xsl:apply-templates select="list/v" /&gt;
      &lt;/fo:table-body&gt;
  &lt;/fo:table&gt;
  </code></pre>
  
  <p>For short, I create one row per "list/v"<br>
  My problem is, is there is no corresponding data, I am getting the following exception<br></p>
  
  <pre><code>org.apache.fop.fo.ValidationException: "fo:table-body" is missing child elements. Required content model: marker* (table-row+|table-cell+) (No context info available)
  </code></pre>
  
  <p><br>Hence my question : <strong>How do you create a valid table without body when no data is available?</strong></p>