- From: cb <christian@barzoi.fr>
- Date: Wed, 8 Oct 2003 22:58:18 +0200
- To: <www-xsl-fo@w3.org>
Received on Wednesday, 8 October 2003 16:57:30 UTC
Hello everyone,
I need to have a < gap > between the header and the first row of a
table.
This code works:
<xsl:template match="tbody/row">
<fo:table-row keep-together="always"
keep-with-next.within-column="4" keep-with-previous.within-column="4">
<!-- add some margin -->
<xsl:if test="position() = 2 ">
<xsl:attribute name="height">+15pt</xsl:attribute>
</xsl:if>
<xsl:if test="@rowsep = '0' ">
<xsl:attribute
name="border-bottom-style">none</xsl:attribute>
</xsl:if>
<xsl:apply-templates/>
</fo:table-row>
</xsl:template>
But, as the table split on another page, the position() test is not
valid, and the gap is missing
Any clue?
Christian
Received on Wednesday, 8 October 2003 16:57:30 UTC