bump product version to 5.0.4.1
[LibreOffice.git] / xmlhelp / util / idxcontent.xsl
blobc09e04500f7179f28e75d713411bea783f615076
1 <!--
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
17 -->
18 <xsl:stylesheet version="1.0" encoding="UTF-8"
19 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
20 xmlns:office="http://openoffice.org/2000/office"
21 xmlns:style="http://openoffice.org/2000/style"
22 xmlns:table="http://openoffice.org/2000/table"
23 xmlns:draw="http://openoffice.org/2000/drawing"
24 xmlns:fo="http://www.w3.org/1999/XSL/Format"
25 xmlns:xlink="http://www.w3.org/1999/xlink"
26 xmlns:dc="http://purl.org/dc/elements/1.1/"
27 xmlns:meta="http://openoffice.org/2000/meta"
28 xmlns:number="http://openoffice.org/2000/datastyle"
29 xmlns:svg="http://www.w3.org/2000/svg"
30 xmlns:chart="http://openoffice.org/2000/chart"
31 xmlns:help="http://openoffice.org/2000/help"
32 xmlns:index="http://sun.com/2000/XMLSearch"
33 xmlns:text="http://openoffice.org/2000/text">
35 <xsl:param name="Language" select="'en-US'"/>
36 <xsl:output method="text" encoding="UTF-8"/>
38 <xsl:template match="helpdocument|body">
39 <xsl:choose>
40 <xsl:when test="meta/topic[@indexer='exclude']"/>
41 <xsl:otherwise>
42 <xsl:apply-templates/>
43 </xsl:otherwise>
44 </xsl:choose>
45 </xsl:template>
47 <xsl:template match="title">
48 <xsl:value-of select="."/>
49 <xsl:text>&#xA;</xsl:text>
50 </xsl:template>
52 <xsl:template match="table">
53 <xsl:apply-templates/>
54 <xsl:text>&#xA;</xsl:text>
55 </xsl:template>
57 <xsl:template match="tablecell">
58 <xsl:apply-templates/>
59 <xsl:text>&#xA;</xsl:text>
60 </xsl:template>
62 <xsl:template match="tablerow">
63 <xsl:apply-templates/>
64 <xsl:text>&#xA;</xsl:text>
65 </xsl:template>
67 <xsl:template match="list">
68 <xsl:apply-templates/>
69 <xsl:text>&#xA;</xsl:text>
70 </xsl:template>
72 <xsl:template match="listitem">
73 <xsl:apply-templates/>
74 <xsl:text>&#xA;</xsl:text>
75 </xsl:template>
77 <xsl:template match="item">
78 <xsl:apply-templates/>
79 <xsl:text>&#xA;</xsl:text>
80 </xsl:template>
82 <xsl:template match="emph">
83 <xsl:apply-templates/>
84 <xsl:text>&#xA;</xsl:text>
85 </xsl:template>
87 <xsl:template match="sub">
88 <xsl:apply-templates/>
89 <xsl:text>&#xA;</xsl:text>
90 </xsl:template>
92 <xsl:template match="sup">
93 <xsl:apply-templates/>
94 <xsl:text>&#xA;</xsl:text>
95 </xsl:template>
97 <xsl:template match="paragraph">
98 <xsl:value-of select="."/>
99 <xsl:text>&#xA;</xsl:text>
100 </xsl:template>
102 <xsl:template match="section">
103 <xsl:apply-templates/>
104 <xsl:text>&#xA;</xsl:text>
105 </xsl:template>
107 <xsl:template match="bookmark">
108 <xsl:apply-templates/>
109 <xsl:text>&#xA;</xsl:text>
110 </xsl:template>
112 <xsl:template match="bookmark_value">
113 <xsl:apply-templates/>
114 <xsl:text>&#xA;</xsl:text>
115 </xsl:template>
117 <xsl:template match="link">
118 <xsl:apply-templates/>
119 <xsl:text>&#xA;</xsl:text>
120 </xsl:template>
122 <xsl:template match="ahelp[@visibility='visible']">
123 <xsl:value-of select="."/>
124 <xsl:text>&#xA;</xsl:text>
125 </xsl:template>
127 <xsl:template match="*"/>
129 </xsl:stylesheet>