xref: /aoo41x/main/xmlhelp/util/idxcaption.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="/">
42cdf0e10cSrcweir	<xsl:apply-templates select="//title" mode="include"/>
43cdf0e10cSrcweir	<xsl:apply-templates select="//paragraph[@role='heading']" mode="include"/>
44cdf0e10cSrcweir</xsl:template>
45cdf0e10cSrcweir
46cdf0e10cSrcweir<xsl:template match="*" mode="include">
47cdf0e10cSrcweir	<xsl:value-of select="."/>
48cdf0e10cSrcweir	<xsl:text>&#xA;</xsl:text>
49cdf0e10cSrcweir</xsl:template>
50cdf0e10cSrcweir
51cdf0e10cSrcweir<xsl:template match="*"/>
52cdf0e10cSrcweir
53cdf0e10cSrcweir</xsl:stylesheet>
54cdf0e10cSrcweir
55