OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Potential typo in Bobs Book


Hi,

I think an example in Bobs book might have a small typo:

http://www.sagehill.net/docbookxsl/PrintToc.html

<xsl:attribute-set name="toc.line.properties">
  <xsl:attribute name="font-size">10pt</xsl:attribute>
  <xsl:attribute name="font-weight">
    <xsl:when test="self::chapter | self::preface |
self::appendix">bold</xsl:when>
    <xsl:otherwise>normal</xsl:otherwise>
  </xsl:attribute>
</xsl:attribute-set>

I think the <xsl:choose> is missing about the <xsl:when>.

At least that made the example work for me.

Best regards, Lars


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]