----- Original Message -----
Sent: Wednesday, August 15, 2007 1:51
PM
Subject: [docbook-apps] 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
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For
additional commands, e-mail: docbook-apps-help@lists.oasis-open.org