On Feb 28, 2007, at 18:02, Arturo Perez wrote:
Hi Arturo,
Thanks, Andreas, I've removed that and the error goes away.
Unfortunately,
so does the border on the table-cells.
Weird, the borders seem fine here at first glance, although I did
need a rather high zoom factor to be able to say for certain...
Before I spend too much effort figuring what's broken on my end,
can you
tell me the proper way to have borders on all the cells of a table? I
know collapse doesn't work 100% (which would be ideal) but I've
poked at
it some and I'm not having any luck getting the cell borders to
come back.
With border-collapse="separate", *THE* XSL-FO way to handle something
like this, would be to define border attribute-sets. That is, if you
have control over the stylesheet code...?
Example to generate borders of 0.2pt on the table edges and 0.1pt
between the cells:
--- Attribute set definition
<xsl:attribute-set name="table-borders">
<xsl:attribute name="border-before-width.length">0.2pt</
xsl:attribute>
<xsl:attribute name="border-before-width.conditionality">retain</
xsl:attribute>
<xsl:attribute name="border-after-width.length">0.2pt</xsl:attribute>
<xsl:attribute name="border-after-width.conditionality">retain</
xsl:attribute>
<xsl:attribute name="border-start-width.length">0.15pt</
xsl:attribute>
<xsl:attribute name="border-end-width.length">0.15pt</xsl:attribute>
</xsl:attribute>
<xsl:attribute-set name="cell-borders">
<xsl:attribute name="border-before-width.length">0.05pt</
xsl:attribute>
<xsl:attribute name="border-after-width.length">0.05pt</
xsl:attribute>
<xsl:attribute name="border-start-width.length">0.05pt</
xsl:attribute>
<xsl:attribute name="border-end-width.length">0.05pt</xsl:attribute>
</xsl:attribute>
---
--- Usage
<xsl:template match="...">
<fo:table xsl:use-attribute-sets="table-borders">
...
<fo:table-cell xsl:use-attribute-sets="cell-borders">
...
---
HTH!
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]