This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Re: Empty cells using FO stylesheets
- From: Jens Stavnstrup <js at ddre dot dk>
- To: Norman Walsh <ndw at nwalsh dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 25 Jan 2002 09:34:24 +0100 (CET)
- Subject: Re: DOCBOOK-APPS: Re: Empty cells using FO stylesheets
Norm,
Thank, but I already tried that(i.e. removed the block which generates the
e(,) text). I couln't see any change to the CVS, so maybee I missed
something. The major problem is that somehow the info on col- and row sep
are lost.
If I have defined a table with two columns, the following code:
<row>
<entry>Something</entry>
<entry/>
</row>
is correctly transformed to:
<fo:table-row>
<fo:table-cell padding="2pt"
border-right-width="0.5pt"
border-right-style="solid"
border-right-color="black"
padding-right="2pt"
border-bottom-width="0.5pt"
border-bottom-style="solid"
border-bottom-color="black" padding-bottom="2pt">
<fo:block>Something</fo:block>
</fo:table-cell>
<fo:table-cell padding="2pt"
border-right-width="0.5pt"
border-right-style="solid"
border-right-color="black"
padding-right="2pt"
border-bottom-width="0.5pt"
border-bottom-style="solid"
border-bottom-color="black"
padding-bottom="2pt">
<fo:block> </fo:block>
</fo:table-cell>
</fo:table-row>
But if I don't write the second entry element,
<row>
<entry>Something</entry>
</row>
I get the following
<fo:table-row>
<fo:table-cell padding="2pt"
border-right-width="0.5pt"
border-right-style="solid"
border-right-color="black"
padding-right="2pt"
border-bottom-width="0.5pt"
border-bottom-style="solid"
border-bottom-color="black" padding-bottom="2pt">
<fo:block>Something</fo:block>
</fo:table-cell>
<fo:table-cell text-align="center" display-align="center" padding="2pt"/>
</fo:table-row>
BTW, why the two characters Hex: C2 A0 in the second col, from the first example ?
Regards
Jens