This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] rules for different classes
- From: Guy Worthington <guyw at multiline dot com dot au>
- To: "docbook-apps" <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 17 Mar 04 16:04:54 +0800
- Subject: Re: [docbook-apps] rules for different classes
- Reply-to: Guy Worthington <guyw at multiline dot com dot au>
Bob Stayton wrote:
> Thomas Gier wrote:
> > Guy Worthington wrote:
> > > [How do I turn off header rule on the
> > > first page of a chapter?]
> > [Working solution provided]
> If you look at the bottom of the header.table
> template, you will find a xsl:choose statement
> that provides an opportunity to output the candidate
> table or not. If you want to suppress the header
> on certain page classes or sequences, you can add
> xsl:when statements for additional cases. That can
> be used to suppress the entire header table,
> including its content and rule.
This is useful. Currently in my "footer.content"
template I've exhaustive lists of empty elements
such as:
<xsl:when test="$sequence = 'odd' and $position = 'left'" />
<xsl:when test="$sequence = 'odd' and $position = 'center'" />
<xsl:when test="$sequence = 'odd' and $position = 'right'" />
<xsl:when test="$sequence = 'even' and $position = 'left'" />
<xsl:when test="$sequence = 'even' and $position = 'center'" />
<xsl:when test="$sequence = 'even' and $position = 'right'" />
which is tedious and error prone. I much prefer
to just turn off my footer.
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.