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'"/>
19 <xsl:output method=
"text" encoding=
"UTF-8"/>
21 <xsl:template match=
"helpdocument|body">
23 <xsl:when test=
"meta/topic[@indexer='exclude']"/>
25 <xsl:apply-templates/>
30 <xsl:template match=
"title">
31 <xsl:value-of select=
"."/>
32 <xsl:text>
</xsl:text>
35 <xsl:template match=
"table">
36 <xsl:apply-templates/>
37 <xsl:text>
</xsl:text>
40 <xsl:template match=
"tablecell">
41 <xsl:apply-templates/>
42 <xsl:text>
</xsl:text>
45 <xsl:template match=
"tablerow">
46 <xsl:apply-templates/>
47 <xsl:text>
</xsl:text>
50 <xsl:template match=
"list">
51 <xsl:apply-templates/>
52 <xsl:text>
</xsl:text>
55 <xsl:template match=
"listitem">
56 <xsl:apply-templates/>
57 <xsl:text>
</xsl:text>
60 <xsl:template match=
"item">
61 <xsl:apply-templates/>
62 <xsl:text>
</xsl:text>
65 <xsl:template match=
"emph">
66 <xsl:apply-templates/>
67 <xsl:text>
</xsl:text>
70 <xsl:template match=
"paragraph">
71 <xsl:value-of select=
"."/>
72 <xsl:text>
</xsl:text>
75 <xsl:template match=
"section">
76 <xsl:apply-templates/>
77 <xsl:text>
</xsl:text>
80 <xsl:template match=
"bookmark">
81 <xsl:apply-templates/>
82 <xsl:text>
</xsl:text>
85 <xsl:template match=
"bookmark_value">
86 <xsl:apply-templates/>
87 <xsl:text>
</xsl:text>
90 <xsl:template match=
"link">
91 <xsl:apply-templates/>
92 <xsl:text>
</xsl:text>
95 <xsl:template match=
"ahelp[@visibility='visible']">
96 <xsl:value-of select=
"."/>
97 <xsl:text>
</xsl:text>
100 <xsl:template match=
"*"/>