Reputation: 55
I have to format the table of contents of a docbook using xsl so that the entries for "top level" sections are bold and have a certain font and font size, but the entries for sect2 and sect3 aren't bold and have different fonts and font sizes. How do I do this?
E: I keep trying to change it in
<xsl:template name="toc.line">
in autotoc.xsl but every time I try a variation of
<xsl:if test="self::sect1">
it never accepts it.
Upvotes: 0
Views: 96