From 7edbe80c126c626c9d5404616a138b9f7e6da1fb Mon Sep 17 00:00:00 2001 From: Mauritz Jeanson Date: Sat, 20 Mar 2010 11:08:37 +0000 Subject: [PATCH] Added missing xsl:choose in example. --- xsl/params/toc.line.properties.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/xsl/params/toc.line.properties.xml b/xsl/params/toc.line.properties.xml index 6fd6b178e..0886fa45b 100644 --- a/xsl/params/toc.line.properties.xml +++ b/xsl/params/toc.line.properties.xml @@ -10,7 +10,7 @@ toc.line.properties -Properties for lines in ToC and LoTs +Properties for lines in ToCs and LoTs @@ -28,13 +28,15 @@ Properties which are applied to every line in ToC (or LoT). You can modify them in order to change appearance of all, or some lines. For -example in order to make lines for chapters in bold specify the -following in your customization layer. +example, in order to make lines for chapters bold, specify the +following in your customization layer: <xsl:attribute-set name="toc.line.properties"> <xsl:attribute name="font-weight"> - <xsl:when test="self::chapter | self::preface | self::appendix">bold</xsl:when> + <xsl:choose> + <xsl:when test="self::chapter">bold</xsl:when> <xsl:otherwise>normal</xsl:otherwise> + </xsl:choose> </xsl:attribute> </xsl:attribute-set> -- 2.40.0