The tgroup template in table.xsl is also used for entrytbl, but in
this case the dbfo processing instruction is a child not a sibling.
This patch should fix the problem. (Maybe there is a more generic
fix, but this is what I have used...)
=========================================
==========================
RCS file: /cvsroot/docbook/xsl/fo/table.xsl,v
retrieving revision 1.35
diff -u -r1.35 table.xsl
--- table.xsl 22 May 2004 06:37:09 -0000 1.35
+++ table.xsl 15 Jul 2004 21:45:03 -0000
@@ -145,10 +145,22 @@
</xsl:message>
</xsl:if>
+ <xsl:variable name="dbfo-pis">
+ <xsl:choose>
+ <!-- this template is also used for entrytbl in which
case the PI is our child
+ not our sibling -->
+ <xsl:when test="self::entrytbl">
+ <xsl:value-of select="processing-
instruction('dbfo')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="../processing-
instruction('dbfo')"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
<xsl:variable name="explicit.table.width">
<xsl:call-template name="dbfo-attribute">
- <xsl:with-param name="pis"
- select="../processing-instruction('dbfo')"/>
+ <xsl:with-param name="pis" select="exsl:node-set($dbfo-
pis)" />
<xsl:with-param name="attribute" select="'table-width'"/>
</xsl:call-template>
</xsl:variable>
Robert Stayton
XSL
None
Public
|
Date: 2004-10-29 16:50 Logged In: YES |
|
Date: 2004-08-07 12:10 Logged In: YES |
| Filename | Description | Download |
|---|---|---|
| table.xsl | fo/table.xsl | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2004-10-29 16:50 | bobstayton |
| resolution_id | None | 2004-10-29 16:50 | bobstayton |
| assigned_to | nobody | 2004-10-29 16:50 | bobstayton |
| close_date | - | 2004-10-29 16:50 | bobstayton |
| File Added | 94078: table.xsl | 2004-07-15 21:52 | gilligan |