1<xsl:stylesheet version="1.0" encoding="UTF-8"
2	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3	xmlns:office="http://openoffice.org/2000/office"
4	xmlns:style="http://openoffice.org/2000/style"
5	xmlns:table="http://openoffice.org/2000/table"
6	xmlns:draw="http://openoffice.org/2000/drawing"
7	xmlns:fo="http://www.w3.org/1999/XSL/Format"
8	xmlns:xlink="http://www.w3.org/1999/xlink"
9	xmlns:dc="http://purl.org/dc/elements/1.1/"
10	xmlns:meta="http://openoffice.org/2000/meta"
11	xmlns:number="http://openoffice.org/2000/datastyle"
12	xmlns:svg="http://www.w3.org/2000/svg"
13	xmlns:chart="http://openoffice.org/2000/chart"
14	xmlns:help="http://openoffice.org/2000/help"
15	xmlns:index="http://sun.com/2000/XMLSearch"
16	xmlns:text="http://openoffice.org/2000/text">
17
18<xsl:param name="Language" select="'en-US'"/>
19
20<xsl:template match="helpdocument|body">
21  <xsl:choose>
22    <xsl:when test="meta/topic[@indexer='exclude']"/>
23    <xsl:otherwise>
24      <xsl:apply-templates/>
25    </xsl:otherwise>
26  </xsl:choose>
27</xsl:template>
28
29<xsl:template match="title">
30  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
31      <xsl:apply-templates/>
32  </index:element>
33</xsl:template>
34
35<xsl:template match="table">
36  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
37      <xsl:apply-templates/>
38  </index:element>
39</xsl:template>
40
41<xsl:template match="tablecell">
42  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
43      <xsl:apply-templates/>
44  </index:element>
45</xsl:template>
46
47<xsl:template match="tablerow">
48  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
49      <xsl:apply-templates/>
50  </index:element>
51</xsl:template>
52
53<xsl:template match="list">
54  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
55      <xsl:apply-templates/>
56  </index:element>
57</xsl:template>
58
59<xsl:template match="listitem">
60  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
61      <xsl:apply-templates/>
62  </index:element>
63</xsl:template>
64
65<xsl:template match="item">
66  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
67      <xsl:apply-templates/>
68  </index:element>
69</xsl:template>
70
71<xsl:template match="emph">
72  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
73      <xsl:apply-templates/>
74  </index:element>
75</xsl:template>
76
77<xsl:template match="paragraph">
78  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
79      <xsl:apply-templates/>
80  </index:element>
81</xsl:template>
82
83<xsl:template match="section">
84  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
85      <xsl:apply-templates/>
86  </index:element>
87</xsl:template>
88
89<xsl:template match="bookmark">
90  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
91      <xsl:apply-templates/>
92  </index:element>
93</xsl:template>
94
95<xsl:template match="bookmark_value">
96  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
97      <xsl:apply-templates/>
98  </index:element>
99</xsl:template>
100
101<xsl:template match="link">
102  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
103      <xsl:apply-templates/>
104  </index:element>
105</xsl:template>
106
107<xsl:template match="ahelp[@visibility='visible']">
108  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
109      <xsl:apply-templates/>
110  </index:element>
111</xsl:template>
112
113<xsl:template match="text()">
114  <index:text index:nodeID="{generate-id(current())}">
115    <xsl:value-of select="."/>
116  </index:text>
117</xsl:template>
118
119<xsl:template match="*"/>
120
121</xsl:stylesheet>
122
123
124