summaryrefslogtreecommitdiffstats
path: root/kdoctools/customization/htdig_index.xsl
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /kdoctools/customization/htdig_index.xsl
downloadtdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz
tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdoctools/customization/htdig_index.xsl')
-rw-r--r--kdoctools/customization/htdig_index.xsl59
1 files changed, 59 insertions, 0 deletions
diff --git a/kdoctools/customization/htdig_index.xsl b/kdoctools/customization/htdig_index.xsl
new file mode 100644
index 000000000..7aa91136a
--- /dev/null
+++ b/kdoctools/customization/htdig_index.xsl
@@ -0,0 +1,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="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>