xref: /trunk/main/xmlhelp/util/idxcaption.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="/">
22*cdf0e10cSrcweir	<xsl:apply-templates select="//title" mode="include"/>
23*cdf0e10cSrcweir	<xsl:apply-templates select="//paragraph[@role='heading']" mode="include"/>
24*cdf0e10cSrcweir</xsl:template>
25*cdf0e10cSrcweir
26*cdf0e10cSrcweir<xsl:template match="*" mode="include">
27*cdf0e10cSrcweir	<xsl:value-of select="."/>
28*cdf0e10cSrcweir	<xsl:text>&#xA;</xsl:text>
29*cdf0e10cSrcweir</xsl:template>
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir<xsl:template match="*"/>
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir</xsl:stylesheet>
34*cdf0e10cSrcweir
35