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 *
19 * Licensed to the Apache Software Foundation (ASF) under one
20 * or more contributor license agreements.  See the NOTICE file
21 * distributed with this work for additional information
22 * regarding copyright ownership.  The ASF licenses this file
23 * to you under the Apache License, Version 2.0 (the
24 * "License"); you may not use this file except in compliance
25 * with the License.  You may obtain a copy of the License at
26 *
27 *   http://www.apache.org/licenses/LICENSE-2.0
28 *
29 * Unless required by applicable law or agreed to in writing,
30 * software distributed under the License is distributed on an
31 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
32 * KIND, either express or implied.  See the License for the
33 * specific language governing permissions and limitations
34 * under the License.
35 *
36 ***********************************************************-->
37
38<xsl:param name="Language" select="'en-US'"/>
39
40<xsl:template match="helpdocument|body">
41  <xsl:choose>
42    <xsl:when test="meta/topic[@indexer='exclude']"/>
43    <xsl:otherwise>
44      <xsl:apply-templates/>
45    </xsl:otherwise>
46  </xsl:choose>
47</xsl:template>
48
49<xsl:template match="title">
50  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
51      <xsl:apply-templates/>
52  </index:element>
53</xsl:template>
54
55<xsl:template match="table">
56  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
57      <xsl:apply-templates/>
58  </index:element>
59</xsl:template>
60
61<xsl:template match="tablecell">
62  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
63      <xsl:apply-templates/>
64  </index:element>
65</xsl:template>
66
67<xsl:template match="tablerow">
68  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
69      <xsl:apply-templates/>
70  </index:element>
71</xsl:template>
72
73<xsl:template match="list">
74  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
75      <xsl:apply-templates/>
76  </index:element>
77</xsl:template>
78
79<xsl:template match="listitem">
80  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
81      <xsl:apply-templates/>
82  </index:element>
83</xsl:template>
84
85<xsl:template match="item">
86  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
87      <xsl:apply-templates/>
88  </index:element>
89</xsl:template>
90
91<xsl:template match="emph">
92  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
93      <xsl:apply-templates/>
94  </index:element>
95</xsl:template>
96
97<xsl:template match="paragraph">
98  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
99      <xsl:apply-templates/>
100  </index:element>
101</xsl:template>
102
103<xsl:template match="section">
104  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
105      <xsl:apply-templates/>
106  </index:element>
107</xsl:template>
108
109<xsl:template match="bookmark">
110  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
111      <xsl:apply-templates/>
112  </index:element>
113</xsl:template>
114
115<xsl:template match="bookmark_value">
116  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
117      <xsl:apply-templates/>
118  </index:element>
119</xsl:template>
120
121<xsl:template match="link">
122  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
123      <xsl:apply-templates/>
124  </index:element>
125</xsl:template>
126
127<xsl:template match="ahelp[@visibility='visible']">
128  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
129      <xsl:apply-templates/>
130  </index:element>
131</xsl:template>
132
133<xsl:template match="text()">
134  <index:text index:nodeID="{generate-id(current())}">
135    <xsl:value-of select="."/>
136  </index:text>
137</xsl:template>
138
139<xsl:template match="*"/>
140
141</xsl:stylesheet>
142
143
144