docbook-apps message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Missing rule under header in DB 5
- From: Ron Catterall <ron@catterall.net>
- To: docbook-apps@lists.oasis-open.org
- Date: Wed, 15 Aug 2007 15:51:41 -0500
Title: Missing rule under header in DB
5
DB5, Saxon 6.5.5, XSL
1.73.0, XEP4.9
Why do I get no rule under the
header. The rule above the footer is OK and its border-top-width
works OK
<!--
===================================================================================== -->
<!-- set
relative space in header for left, center and right cells
-->
<xsl:param name="header.column.widths" select="'1 10
1'"
>
</xsl:param>
<!--
===================================================================================== -->
<!-- rule
below header -->
<xsl:param name="header.rule" select="1" >
</xsl:param>
<!-- define
the rule below the header -->
<xsl:template name="head.sep.rule">
<xsl:if
test="$header.rule != 0">
<xsl:attribute name="border-bottom-width">0.5pt</xsl:attribute>
<xsl:attribute name="border-bottom-style">solid</xsl:attribute>
<xsl:attribute name="border-bottom-color">black</xsl:attribute>
</xsl:if>
</xsl:template>
<!--
===================================================================================== -->
<!-- set
header content style -->
<xsl:attribute-set name="header.content.properties">
<xsl:attribute name="font-family">Cardo</xsl:attribute>
<xsl:attribute name="font-size">11pt</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:attribute-set>
<!--
===================================================================================== -->
<!-- set
relative space in footer for left, center and right cells
-->
<xsl:param name="footer.column.widths" select="'1 1
1'"
>
</xsl:param>
<!--
===================================================================================== -->
<!-- rule
above footer -->
<xsl:param name="footer.rule" select="1" >
</xsl:param>
<!-- define
the rule above the footer -->
<xsl:template name="foot.sep.rule">
<xsl:if
test="$footer.rule != 0">
<xsl:attribute name="border-top-width">0.5pt</xsl:attribute>
<xsl:attribute name="border-top-style">solid</xsl:attribute>
<xsl:attribute name="border-top-color">black</xsl:attribute>
</xsl:if>
</xsl:template>
<!--
===================================================================================== -->
<!-- set
footer content style -->
<xsl:attribute-set name="footer.content.properties">
<xsl:attribute name="font-family">Cardo</xsl:attribute>
<xsl:attribute name="font-size">10pt</xsl:attribute>
<xsl:attribute name="font-weight">bold</xsl:attribute>
</xsl:attribute-set>
--
Ron Catterall, Phd, DSc
email: ron@catterall.net
Prolongacion de Hidalgo 140
http://catterall.net/
San Felipe del Agua
tel:
+52 951 520 1821
Oaxaca 68020
Mexico
fax:
+1 530 348 8309
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]