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">
18 <xsl:param name=
"Language" select=
"'en-US'"/>
20 <xsl:template match=
"helpdocument|body">
22 <xsl:when test=
"meta/topic[@indexer='exclude']"/>
24 <xsl:apply-templates/>
29 <xsl:template match=
"title">
30 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
31 <xsl:apply-templates/>
35 <xsl:template match=
"table">
36 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
37 <xsl:apply-templates/>
41 <xsl:template match=
"tablecell">
42 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
43 <xsl:apply-templates/>
47 <xsl:template match=
"tablerow">
48 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
49 <xsl:apply-templates/>
53 <xsl:template match=
"list">
54 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
55 <xsl:apply-templates/>
59 <xsl:template match=
"listitem">
60 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
61 <xsl:apply-templates/>
65 <xsl:template match=
"item">
66 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
67 <xsl:apply-templates/>
71 <xsl:template match=
"emph">
72 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
73 <xsl:apply-templates/>
77 <xsl:template match=
"paragraph">
78 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
79 <xsl:apply-templates/>
83 <xsl:template match=
"section">
84 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
85 <xsl:apply-templates/>
89 <xsl:template match=
"bookmark">
90 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
91 <xsl:apply-templates/>
95 <xsl:template match=
"bookmark_value">
96 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
97 <xsl:apply-templates/>
101 <xsl:template match=
"link">
102 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
103 <xsl:apply-templates/>
107 <xsl:template match=
"ahelp[@visibility='visible']">
108 <index:element index:
tokenizer=
"com.sun.xmlsearch.util.SimpleTokenizer">
109 <xsl:apply-templates/>
113 <xsl:template match=
"text()">
114 <index:text index:
nodeID=
"{generate-id(current())}">
115 <xsl:value-of select=
"."/>
119 <xsl:template match=
"*"/>