delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / runtime / khelpcenter / table-of-contents.xslt
blob47b7fbb78ac421e8f6887d8dc147e02dbec604f0
1 <?xml version="1.0"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 version="1.0">
5 <xsl:template match="book">
6 <table-of-contents>
7 <xsl:apply-templates select="chapter"/>
8 </table-of-contents>
9 </xsl:template>
11 <xsl:template match="chapter">
12 <chapter>
13 <title><xsl:value-of select="title"/></title>
14 <anchor><xsl:value-of select="@id"/></anchor>
15 <xsl:apply-templates select="sect1"/>
16 </chapter>
17 </xsl:template>
19 <xsl:template match="sect1">
20 <section>
21 <title><xsl:value-of select="title"/></title>
22 <anchor><xsl:value-of select="@id"/></anchor>
23 </section>
24 </xsl:template>
26 </xsl:stylesheet>