OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
dales@vxitech.com
216-447-4059 x2018
216-447-8951 FAX


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]