xref: /aoo41x/main/xmlhelp/util/idxcontent.xsl (revision 10544477)
1*10544477SAndre Fischer<!--***********************************************************
2*10544477SAndre Fischer *
3*10544477SAndre Fischer * Licensed to the Apache Software Foundation (ASF) under one
4*10544477SAndre Fischer * or more contributor license agreements.  See the NOTICE file
5*10544477SAndre Fischer * distributed with this work for additional information
6*10544477SAndre Fischer * regarding copyright ownership.  The ASF licenses this file
7*10544477SAndre Fischer * to you under the Apache License, Version 2.0 (the
8*10544477SAndre Fischer * "License"); you may not use this file except in compliance
9*10544477SAndre Fischer * with the License.  You may obtain a copy of the License at
10*10544477SAndre Fischer *
11*10544477SAndre Fischer *   http://www.apache.org/licenses/LICENSE-2.0
12*10544477SAndre Fischer *
13*10544477SAndre Fischer * Unless required by applicable law or agreed to in writing,
14*10544477SAndre Fischer * software distributed under the License is distributed on an
15*10544477SAndre Fischer * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*10544477SAndre Fischer * KIND, either express or implied.  See the License for the
17*10544477SAndre Fischer * specific language governing permissions and limitations
18*10544477SAndre Fischer * under the License.
19*10544477SAndre Fischer *
20*10544477SAndre Fischer ***********************************************************-->
21cdf0e10cSrcweir<xsl:stylesheet version="1.0" encoding="UTF-8"
22cdf0e10cSrcweir	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
23cdf0e10cSrcweir	xmlns:office="http://openoffice.org/2000/office"
24cdf0e10cSrcweir	xmlns:style="http://openoffice.org/2000/style"
25cdf0e10cSrcweir	xmlns:table="http://openoffice.org/2000/table"
26cdf0e10cSrcweir	xmlns:draw="http://openoffice.org/2000/drawing"
27cdf0e10cSrcweir	xmlns:fo="http://www.w3.org/1999/XSL/Format"
28cdf0e10cSrcweir	xmlns:xlink="http://www.w3.org/1999/xlink"
29cdf0e10cSrcweir	xmlns:dc="http://purl.org/dc/elements/1.1/"
30cdf0e10cSrcweir	xmlns:meta="http://openoffice.org/2000/meta"
31cdf0e10cSrcweir	xmlns:number="http://openoffice.org/2000/datastyle"
32cdf0e10cSrcweir	xmlns:svg="http://www.w3.org/2000/svg"
33cdf0e10cSrcweir	xmlns:chart="http://openoffice.org/2000/chart"
34cdf0e10cSrcweir	xmlns:help="http://openoffice.org/2000/help"
35cdf0e10cSrcweir	xmlns:index="http://sun.com/2000/XMLSearch"
36cdf0e10cSrcweir	xmlns:text="http://openoffice.org/2000/text">
37cdf0e10cSrcweir
38cdf0e10cSrcweir<xsl:param name="Language" select="'en-US'"/>
39cdf0e10cSrcweir<xsl:output method="text" encoding="UTF-8"/>
40cdf0e10cSrcweir
41cdf0e10cSrcweir<xsl:template match="helpdocument|body">
42cdf0e10cSrcweir  <xsl:choose>
43cdf0e10cSrcweir    <xsl:when test="meta/topic[@indexer='exclude']"/>
44cdf0e10cSrcweir    <xsl:otherwise>
45cdf0e10cSrcweir      <xsl:apply-templates/>
46cdf0e10cSrcweir    </xsl:otherwise>
47cdf0e10cSrcweir  </xsl:choose>
48cdf0e10cSrcweir</xsl:template>
49cdf0e10cSrcweir
50cdf0e10cSrcweir<xsl:template match="title">
51cdf0e10cSrcweir  <xsl:value-of select="."/>
52cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
53cdf0e10cSrcweir</xsl:template>
54cdf0e10cSrcweir
55cdf0e10cSrcweir<xsl:template match="table">
56cdf0e10cSrcweir  <xsl:apply-templates/>
57cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
58cdf0e10cSrcweir</xsl:template>
59cdf0e10cSrcweir
60cdf0e10cSrcweir<xsl:template match="tablecell">
61cdf0e10cSrcweir  <xsl:apply-templates/>
62cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
63cdf0e10cSrcweir</xsl:template>
64cdf0e10cSrcweir
65cdf0e10cSrcweir<xsl:template match="tablerow">
66cdf0e10cSrcweir  <xsl:apply-templates/>
67cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
68cdf0e10cSrcweir</xsl:template>
69cdf0e10cSrcweir
70cdf0e10cSrcweir<xsl:template match="list">
71cdf0e10cSrcweir  <xsl:apply-templates/>
72cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
73cdf0e10cSrcweir</xsl:template>
74cdf0e10cSrcweir
75cdf0e10cSrcweir<xsl:template match="listitem">
76cdf0e10cSrcweir  <xsl:apply-templates/>
77cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
78cdf0e10cSrcweir</xsl:template>
79cdf0e10cSrcweir
80cdf0e10cSrcweir<xsl:template match="item">
81cdf0e10cSrcweir  <xsl:apply-templates/>
82cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
83cdf0e10cSrcweir</xsl:template>
84cdf0e10cSrcweir
85cdf0e10cSrcweir<xsl:template match="emph">
86cdf0e10cSrcweir  <xsl:apply-templates/>
87cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
88cdf0e10cSrcweir</xsl:template>
89cdf0e10cSrcweir
90cdf0e10cSrcweir<xsl:template match="paragraph">
91cdf0e10cSrcweir  <xsl:value-of select="."/>
92cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
93cdf0e10cSrcweir</xsl:template>
94cdf0e10cSrcweir
95cdf0e10cSrcweir<xsl:template match="section">
96cdf0e10cSrcweir  <xsl:apply-templates/>
97cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
98cdf0e10cSrcweir</xsl:template>
99cdf0e10cSrcweir
100cdf0e10cSrcweir<xsl:template match="bookmark">
101cdf0e10cSrcweir  <xsl:apply-templates/>
102cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
103cdf0e10cSrcweir</xsl:template>
104cdf0e10cSrcweir
105cdf0e10cSrcweir<xsl:template match="bookmark_value">
106cdf0e10cSrcweir  <xsl:apply-templates/>
107cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
108cdf0e10cSrcweir</xsl:template>
109cdf0e10cSrcweir
110cdf0e10cSrcweir<xsl:template match="link">
111cdf0e10cSrcweir  <xsl:apply-templates/>
112cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
113cdf0e10cSrcweir</xsl:template>
114cdf0e10cSrcweir
115cdf0e10cSrcweir<xsl:template match="ahelp[@visibility='visible']">
116cdf0e10cSrcweir  <xsl:value-of select="."/>
117cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
118cdf0e10cSrcweir</xsl:template>
119cdf0e10cSrcweir
120cdf0e10cSrcweir<xsl:template match="*"/>
121cdf0e10cSrcweir
122cdf0e10cSrcweir</xsl:stylesheet>
123cdf0e10cSrcweir
124cdf0e10cSrcweir
125