[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] How can I exclude an "index" page sequence from being processed by an xsl:when statement?
Simple and concise answer that works, as usual. Thanks a lot! For some reason I couldn't get that the parameter should be "pageclass". I used the section you refer to in your book when I originally created this customization, so I guess I should have thought about it. Thanks for taking the time to answer.
For my solution, I didn't create a new xsl:when clause, I added the test directly in the existing one:
<xsl:when test="$sequence = 'first' and $pageclass != 'index'">
On 11/12/2013 19:00, Bob Stayton wrote:
You can create additional xsl:when clauses and use the 'pageclass' param passed to the footer.content template. Something like test="contains($pageclass, 'index')" will be true when the page-sequence is for the index.