From: Mauritz Jeanson Date: Sat, 20 Mar 2010 11:08:37 +0000 (+0000) Subject: Added missing xsl:choose in example. X-Git-Tag: release/1.79.1~6^2~902 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac234f5e0bf068c9df55cf4bcdfb10667b8113e6;p=docbook-dsssl Added missing xsl:choose in example. --- 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>