W3C home > Mailing lists > Public > www-xsl-fo@w3.org > November 2001

FO Newbie: table-Row

From: Tanzila Mohammad <tmohammad@entier-solutions.com>
Date: Tue, 13 Nov 2001 12:43:05 -0000
To: <www-xsl-fo@w3.org>
Message-ID: <EBEKJPOMOCIKIIPPEBHBEEEGCHAA.tmohammad@entier-solutions.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT