Sorry for not checking the errata page. I assumed if you find and
correct an error you just re-run the generation of you online book.
That is what I do for my tutorials.
Best regards, Lars
2012/7/3 Bob Stayton <
bobs@sagehill.net>:
> Yes, indeed, that example should have an xsl:choose. Thanks for the report.
> It's noted in the book's Errata page:
>
>
http://sagehill.net/book-errata.html>
> Bob Stayton
> Sagehill Enterprises
>
bobs@sagehill.net>
>
>
Original Message ----- From: "Lars Vogel" <lars.vogel@gmail.com>
> To: "DocBook Apps" <docbook-apps@lists.oasis-open.org>
> Sent: Tuesday, July 03, 2012 7:43 AM
> Subject: [docbook-apps] 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
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>>
>>
>>
>