Well, that's what I thought I was getting from reading... .
border-* on <table> implies nothing about the internal borders (the
ones around the cells).
This is definately the most flexible approach, but it also requires
the most FO to describe. In cases where you want a grid-type table,
many border-* attributes are required on many <table-cell>s to
Seems a shame there isn't a more concise way to express a grid-like
--- In XSL-FO@y..., Eric Smith <eric@a...> wrote:
> According to m_g_0_1 on Tue, Feb 12, 2002 at 04:47:12AM -0000:
> > Sorry if this has been beaten to death; I searched and didn't
> > If one wants a table that looks like a grid (borders all the way
> > around and borders dividing all cells, how does one specify the
> > borders? Does border-* on the <fo:table> only affect the
> > around the table? Do you need to specify individual cell
> > The 2 situations I'd like to know how to express are:
> > 1) a grid-like table;
> > 2) a table with borders around, but none inside (a box).
> <xsl:for-each select="cell">
> <!-- border-top-color="red" border-top-width="0.5pt"
> <fo:table-cell padding="2pt"
> border-bottom-color="olive" border-bottom-width="0.5pt"
> border-left-color="olive" border-left-width="0.5pt"
> border-right-color="olive" border-right-width="0.5pt"
> <!-- colors: aqua, black, blue, fuchsia, gray, green, olive,
> navy, olive, purple, red, silver, teal, white, and yellow -->
> <fo:table break-before="page" border-color="blue"
> border-width="5pt" border-style="solid">
> Eric Smith - currently using xalan and xsltproc - what a
difference speed makes - and fop on linux