Re: [docbook-apps] Table Header Column Formatting

From
Bob Stayton <>
Date
2009-03-30T03:14:51+00:00
ID
0b2501c9b0e5$aa201b40$6400a8c0@pazu
Thread
Re: [docbook-apps] Table Header Column Formatting
Hi,

I presume you are asking about printed output, not 
HTML output.

There is a named template that handles the format 
properties on each table cell, and another to apply format properties to the 
fo:block inside each cell.  These are described in these two sections of my 
book:

 

http://www.sagehill.net/docbookxsl/PrintTableStyles.html#table.cell.properties

 

http://www.sagehill.net/docbookxsl/PrintTableStyles.html#table.cell.block.properties

 

You could customize these using additional xpath 
selectors.  The existing template uses "ancestor::thead" to test for 
table header cells.  You could use "count(preceding-sibling::entry) = 0" to 
detect first cells in each row.

 

Bob Stayton
Sagehill Enterprises


 

 

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

  
From: 
  Marcel Tromp 

  
To:  
  

  
Sent: Saturday, March 28, 2009 10:10 
  PM

  
Subject: [docbook-apps] Table Header 
  Column Formatting

  

Is there an easy way do define a stylesheet that will format 
  the cells in a header column the same way the cells are formatting in a header 
  (thead) row?
  

  
Marcel

  
--