Re: [docbook-apps] suppress navigation on first page

From
Bob Stayton <>
Date
2005-10-14T07:16:06+00:00
ID
078c01c5d08f$21662450$6400a8c0@toshiro
Thread
Re: [docbook-apps] suppress navigation on first page
I think you would need to customize either 
the template named 'header.navigation' or the template named 
'chunk-element-content' that calls 'header.navigation'.  If you customize 
chunk-element-content, you could add an xsl:if test like this;

 

<xsl:if test="generate-id(.) != 
generate-id(/*[1])">

  <xsl:call-template 
name="header.navigation">

  ...

 

 

 

This tests whether the current node is the 
root node, and it is the root node that generates index.html.

 

Bob Stayton
Sagehill Enterprises
DocBook Consulting


 

 

  
----- Original Message ----- 

  
From: 
  Hendrik Schreiber 
  

  
To:  
  

  
Sent: Wednesday, October 12, 2005 2:00 
  PM

  
Subject: [docbook-apps] suppress 
  navigation on first page

  

Hey,
  

  
I know that I can easily control rendering of navigation (next, previous, 
  up, etc.) for a whole book using the appropriate parameters 
  (suppress*.navigation), but how do turn it off just for the first page 
  (index.html)? I am using chunking and the template set is for HTML.

  

  
Thanks in advance,

  

  

  
-hendrik