[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: patch for dbfo PI in entrtbl
Hi Everyone, I found a problem trying to use the <?dbfo table-width="110mm" ?> processing instruction inside an entrytbl element: <entrytbl cols="2" colsep="1" rowsep="1"> <?dbfo table-width="110mm" ?> <tbody> ... snip ... </tbody> </entrytbl> The problem is that the tgroup template in fo/table.xsl is used and this template assumes that the PI is a sibling, but the way it is called for entrytbl, the PI is actually a child. The critical part of the fix is the following <xsl:choose>: <xsl:choose> <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> http://sourceforge.net/tracker/index.php?func=detail&aid=991939&group_id=21935&atid=373749 If there is a better way to fix this problem, please let me know. Thanks, Sean -- --------------------------------------------------------------------------- M. Sean Gilligan : 831-466-9788 x11 Catalla Systems, Inc. ---------------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]