I'd like to have two tgroups in a single cals table, but I can not figure
out how to get a border between the two tgroups. (this is for fo
output.)
The calsTable template in fo/table.xsl has (edited):
<xsl:for-each select="tgroup">
<fo:table xsl:use-attribute-sets="table.table.properties">
<xsl:call-template name="table.frame"/>
<xsl:if test="following-sibling::tgroup">
<xsl:attribute name="border-bottom-width">0pt</xsl:attribute>
<xsl:attribute name="border-bottom-style">none</xsl:attribute>
</xsl:if>
<xsl:if test="preceding-sibling::tgroup">
<xsl:attribute name="border-top-width">0pt</xsl:attribute>
<xsl:attribute name="border-top-style">none</xsl:attribute>
</xsl:if>
<xsl:apply-templates select="."/>
</fo:table>
</xsl:for-each>
I suspect that only *one* of those xsl:if's are needed, not both. And
in fact, commenting out the first xsl:if gives me borders between my
tgroups.
Bug? Is there *any* other way to get a border between tgroups?
Thanks,
-Dale
--
Dale P. Smith
[email protected]
216-447-4059 x2018
216-447-8951 FAX
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]