← Prev in month ← Prev in thread
Next in thread → Next in month →

No border between multiple tgroups in a single cals table for fooutput.

From
Dale Smith <>
Date
2009-02-05T17:34:53+00:00
ID
Thread
No border between multiple tgroups in a single cals table for fooutput.
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

216-447-4059 x2018
216-447-8951 FAX
← Prev in month ← Prev in thread
Next in thread → Next in month →