This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I assume you mean FO output, not HTML
output.
For FO output, you can put the properties
you want in the fo:table-header object by modifying the match="thead"
template. You can use xsl:attribute to add two properties:
<xsl:template
match="thead">
<xsl:variable name="tgroup" select="parent::*"/> <fo:table-header>
<!-- ADD THESE TWO
PROPERTIES -->
<xsl:attribute name="background-color">#E0E0E0</xsl:attribute> <xsl:attribute name="font-weight">bold</xsl:attribute> <xsl:apply-templates select="row[1]"> <xsl:with-param name="spans"> <xsl:call-template name="blank.spans"> <xsl:with-param name="cols" select="../@cols"/> </xsl:call-template> </xsl:with-param> </xsl:apply-templates> </fo:table-header> </xsl:template> Those properties will be inherited by all
the cells in the thead.
|
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |