xref: /aoo41x/main/xmlhelp/util/idxcontent.xsl (revision cdf0e10c)
1*cdf0e10cSrcweir<xsl:stylesheet version="1.0" encoding="UTF-8"
2*cdf0e10cSrcweir	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3*cdf0e10cSrcweir	xmlns:office="http://openoffice.org/2000/office"
4*cdf0e10cSrcweir	xmlns:style="http://openoffice.org/2000/style"
5*cdf0e10cSrcweir	xmlns:table="http://openoffice.org/2000/table"
6*cdf0e10cSrcweir	xmlns:draw="http://openoffice.org/2000/drawing"
7*cdf0e10cSrcweir	xmlns:fo="http://www.w3.org/1999/XSL/Format"
8*cdf0e10cSrcweir	xmlns:xlink="http://www.w3.org/1999/xlink"
9*cdf0e10cSrcweir	xmlns:dc="http://purl.org/dc/elements/1.1/"
10*cdf0e10cSrcweir	xmlns:meta="http://openoffice.org/2000/meta"
11*cdf0e10cSrcweir	xmlns:number="http://openoffice.org/2000/datastyle"
12*cdf0e10cSrcweir	xmlns:svg="http://www.w3.org/2000/svg"
13*cdf0e10cSrcweir	xmlns:chart="http://openoffice.org/2000/chart"
14*cdf0e10cSrcweir	xmlns:help="http://openoffice.org/2000/help"
15*cdf0e10cSrcweir	xmlns:index="http://sun.com/2000/XMLSearch"
16*cdf0e10cSrcweir	xmlns:text="http://openoffice.org/2000/text">
17*cdf0e10cSrcweir
18*cdf0e10cSrcweir<xsl:param name="Language" select="'en-US'"/>
19*cdf0e10cSrcweir<xsl:output method="text" encoding="UTF-8"/>
20*cdf0e10cSrcweir
21*cdf0e10cSrcweir<xsl:template match="helpdocument|body">
22*cdf0e10cSrcweir  <xsl:choose>
23*cdf0e10cSrcweir    <xsl:when test="meta/topic[@indexer='exclude']"/>
24*cdf0e10cSrcweir    <xsl:otherwise>
25*cdf0e10cSrcweir      <xsl:apply-templates/>
26*cdf0e10cSrcweir    </xsl:otherwise>
27*cdf0e10cSrcweir  </xsl:choose>
28*cdf0e10cSrcweir</xsl:template>
29*cdf0e10cSrcweir
30*cdf0e10cSrcweir<xsl:template match="title">
31*cdf0e10cSrcweir  <xsl:value-of select="."/>
32*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
33*cdf0e10cSrcweir</xsl:template>
34*cdf0e10cSrcweir
35*cdf0e10cSrcweir<xsl:template match="table">
36*cdf0e10cSrcweir  <xsl:apply-templates/>
37*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
38*cdf0e10cSrcweir</xsl:template>
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir<xsl:template match="tablecell">
41*cdf0e10cSrcweir  <xsl:apply-templates/>
42*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
43*cdf0e10cSrcweir</xsl:template>
44*cdf0e10cSrcweir
45*cdf0e10cSrcweir<xsl:template match="tablerow">
46*cdf0e10cSrcweir  <xsl:apply-templates/>
47*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
48*cdf0e10cSrcweir</xsl:template>
49*cdf0e10cSrcweir
50*cdf0e10cSrcweir<xsl:template match="list">
51*cdf0e10cSrcweir  <xsl:apply-templates/>
52*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
53*cdf0e10cSrcweir</xsl:template>
54*cdf0e10cSrcweir
55*cdf0e10cSrcweir<xsl:template match="listitem">
56*cdf0e10cSrcweir  <xsl:apply-templates/>
57*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
58*cdf0e10cSrcweir</xsl:template>
59*cdf0e10cSrcweir
60*cdf0e10cSrcweir<xsl:template match="item">
61*cdf0e10cSrcweir  <xsl:apply-templates/>
62*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
63*cdf0e10cSrcweir</xsl:template>
64*cdf0e10cSrcweir
65*cdf0e10cSrcweir<xsl:template match="emph">
66*cdf0e10cSrcweir  <xsl:apply-templates/>
67*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
68*cdf0e10cSrcweir</xsl:template>
69*cdf0e10cSrcweir
70*cdf0e10cSrcweir<xsl:template match="paragraph">
71*cdf0e10cSrcweir  <xsl:value-of select="."/>
72*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
73*cdf0e10cSrcweir</xsl:template>
74*cdf0e10cSrcweir
75*cdf0e10cSrcweir<xsl:template match="section">
76*cdf0e10cSrcweir  <xsl:apply-templates/>
77*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
78*cdf0e10cSrcweir</xsl:template>
79*cdf0e10cSrcweir
80*cdf0e10cSrcweir<xsl:template match="bookmark">
81*cdf0e10cSrcweir  <xsl:apply-templates/>
82*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
83*cdf0e10cSrcweir</xsl:template>
84*cdf0e10cSrcweir
85*cdf0e10cSrcweir<xsl:template match="bookmark_value">
86*cdf0e10cSrcweir  <xsl:apply-templates/>
87*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
88*cdf0e10cSrcweir</xsl:template>
89*cdf0e10cSrcweir
90*cdf0e10cSrcweir<xsl:template match="link">
91*cdf0e10cSrcweir  <xsl:apply-templates/>
92*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
93*cdf0e10cSrcweir</xsl:template>
94*cdf0e10cSrcweir
95*cdf0e10cSrcweir<xsl:template match="ahelp[@visibility='visible']">
96*cdf0e10cSrcweir  <xsl:value-of select="."/>
97*cdf0e10cSrcweir  <xsl:text>&#xA;</xsl:text>
98*cdf0e10cSrcweir</xsl:template>
99*cdf0e10cSrcweir
100*cdf0e10cSrcweir<xsl:template match="*"/>
101*cdf0e10cSrcweir
102*cdf0e10cSrcweir</xsl:stylesheet>
103*cdf0e10cSrcweir
104*cdf0e10cSrcweir
105