W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2008

Table top Row

From: Saqi <saqib.javed@gmail.com>
Date: Tue, 30 Dec 2008 09:45:33 +0500
Message-ID: <e43b65bd0812292045r28772d4dk1b97978888815a77@mail.gmail.com>
To: www-xsl-fo@w3.org
Hello,
i'm designing a table in xsl-fo. now i've to show only the table column
lines and table row lines are ommited. now when i try to set
table-omit-header-at-break="true". when the data overflow to the next page,
yes header is ommited but the top line also disappear. now i just want to
show that top line without showing the header. is there any thing i am
missing. my code islike this.

<fo:table table-omit-footer-at-break="false"
table-omit-header-at-break="true" border="1pt" border-style="solid" >

            <fo:table-column width="30mm"/>
            <fo:table-column width="30mm"/>

                <fo:table-header>
              <fo:table-row height="30pt">
                <fo:table-cell width="74.00pt" border="1pt"
border-style="solid">
                  <fo:block text-align="left">
                    <fo:inline font-family="Times New Roman"
font-size="12.00pt"
color="rgb-icc(0.00,0.00,0.00,#CMYK,0.00,0.00,0.00,1.00)">
                      <xsl:text>Date From&#xD;</xsl:text>
                    </fo:inline>
                  </fo:block>
                </fo:table-cell>
                <fo:table-cell width="74.00pt" border="1pt"
border-style="solid">
                  <fo:block text-align="left">
                    <fo:inline font-family="Times New Roman"
font-size="12.00pt"
color="rgb-icc(0.00,0.00,0.00,#CMYK,0.00,0.00,0.00,1.00)">
                      <xsl:text>Date To&#xD;</xsl:text>
                    </fo:inline>
                  </fo:block>
                </fo:table-cell>
              </fo:table-row>
            </fo:table-header>

            <fo:table-footer/>

            <fo:table-body>
              <xsl:for-each select="Transactions">
                <fo:table-row height="30pt" padding="2pt"
border-top-width="1pt">
                  <fo:table-cell width="74.00pt" border-left-width="1pt"
border="0pt" border-style="solid">
                    <fo:block text-align="left">
                      <fo:inline font-family="Times New Roman"
font-size="12.00pt"
color="rgb-icc(0.00,0.00,0.00,#CMYK,0.00,0.00,0.00,1.00)">
                        <xsl:value-of select="DateFrom"/>
                      </fo:inline>
                    </fo:block>
                  </fo:table-cell>
                  <fo:table-cell width="74.00pt" border-left-width="1pt"
border="0pt" border-style="solid">
                    <fo:block text-align="left">
                      <fo:inline font-family="Times New Roman"
font-size="12.00pt"
color="rgb-icc(0.00,0.00,0.00,#CMYK,0.00,0.00,0.00,1.00)">
                        <xsl:value-of select="DateTo"/>
                      </fo:inline>
                    </fo:block>
                  </fo:table-cell>
                  </fo:table-row>
              </xsl:for-each>
            </fo:table-body>
          </fo:table>
Received on Tuesday, 30 December 2008 04:46:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 30 December 2008 04:46:11 GMT