summaryrefslogtreecommitdiffstats
path: root/kdoctools/customization/htdig_index.xsl
blob: 4d479825baa16588618c21822904c803ce1fd40c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version='1.0'>

<xsl:template match="*">
  <!-- xsl:message>
    <xsl:text>No template matches </xsl:text>
    <xsl:value-of select="name(.)"/>
    <xsl:text>.</xsl:text>
  </xsl:message -->
  <xsl:apply-templates/>
</xsl:template>

<xsl:template match="keywordset/keyword">
  <entry header="10">
    <xsl:apply-templates/>
  </entry>
</xsl:template>

<xsl:template match="book/title|bookinfo/title|abstract">
  <entry header="5">
    <xsl:apply-templates/>
  </entry>
</xsl:template>

<xsl:template match="chapter/title">
  <entry header="4">
    <xsl:apply-templates/>
  </entry>
</xsl:template>

<xsl:template match="sect1/title">
  <entry header="3">
    <xsl:apply-templates/>
  </entry>
</xsl:template>

<xsl:template match="*[starts-with(local-name(), 'sect')]/title|emphasis">
  <entry header="2">
    <xsl:apply-templates/>
  </entry>
</xsl:template>

<xsl:template match="application|guilabel|guiicon|menuchoice|guibutton|guisubmenu|guimenuitem|term|guimenu|literal|acronym">
 <entry header="1">
    <xsl:apply-templates/>
 </entry>
</xsl:template>

<xsl:template match="book">
  <entry header="0">
    <xsl:apply-templates/>
  </entry>
</xsl:template>

<xsl:template match="date|releaseinfo|anchor|imagedata">
</xsl:template>

</xsl:stylesheet>