FO Newbie: table-Row

I have the following code:


  <fo:table text-align="center">
    <fo:table-column column-width="1in"/>
    <fo:table-column column-width="0.5in" number-columns-repeated="12"/>
    <fo:table-body>
      <fo:table-row>
        <fo:table-cell>
        </fo:table-cell>
        <fo:table-cell>
          <fo:table text-align="center">
            <fo:table-column column-width="1in"
number-columns-repeated="5"/>
            <fo:table-body>
              <fo:table-row>
               <xsl:for-each select="[path]/table-column-header-row">
                 <xsl:if test="./column-header/@name='ELEMENT'">
                  <fo:table-cell>
                     <fo:block text-align="center">
                       <xsl:value-of select="."/>
                     </fo:block>
                   </fo:table-cell>
                  </xsl:if>
                </xsl:for-each>
              </fo:table-row>
            </fo:table-body>
          </fo:table>
     </fo:table-cell>

......

I have table within a table, the problem is that I want each data-element to
be returned in its own table-cell:

  data 1     data 2    data 3 ....


But I get the following, which appears like all the data is in one
table-cell:

  data 1
  data 2
  data 3
  .....

Any suggestions?

Tanz

Received on Tuesday, 13 November 2001 07:43:08 UTC