docbook-apps message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: header.sep.rule
- From: Mykone Saunders <mykone@i3dvr.com>
- To: Docbook Mailing List <docbook-apps@lists.oasis-open.org>
- Date: Thu, 22 Mar 2007 11:38:40 -0400
Hello List,
I have customized the "header.sep.rule" template to not show the line on title page, however it's failing test="$pageclass = 'titlepage'". Can somebody help me on this please.
What's strange the same technique works in "<xsl:template name="header.content">". but not in header.sep.rule.
Thanks. See blow.
<!--Begin: Header Style-->
<xsl:template name="head.sep.rule">
<xsl:param name="pageclass"/>
<xsl:param name="sequence"/>
<xsl:param name="gentext-key"/>
<xsl:if test="$header.rule != 0">
<xsl:choose>
<xsl:when test="$pageclass = 'titlepage'">
<xsl:attribute name="border-bottom-width">0pt</xsl:attribute>
<xsl:attribute name="border-bottom-style">none</xsl:attribute>
<xsl:attribute name="border-bottom-color">black</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<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:otherwise>
</xsl:choose>
</xsl:if>
</xsl:template>
<!--End: Header Style-->
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]