xref: /trunk/main/xmlhelp/util/idxcaption.xsl (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
1<xsl:stylesheet version="1.0" encoding="UTF-8"
2    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3    xmlns:office="http://openoffice.org/2000/office"
4    xmlns:style="http://openoffice.org/2000/style"
5    xmlns:table="http://openoffice.org/2000/table"
6    xmlns:draw="http://openoffice.org/2000/drawing"
7    xmlns:fo="http://www.w3.org/1999/XSL/Format"
8    xmlns:xlink="http://www.w3.org/1999/xlink"
9    xmlns:dc="http://purl.org/dc/elements/1.1/"
10    xmlns:meta="http://openoffice.org/2000/meta"
11    xmlns:number="http://openoffice.org/2000/datastyle"
12    xmlns:svg="http://www.w3.org/2000/svg"
13    xmlns:chart="http://openoffice.org/2000/chart"
14    xmlns:help="http://openoffice.org/2000/help"
15    xmlns:index="http://sun.com/2000/XMLSearch"
16    xmlns:text="http://openoffice.org/2000/text">
17
18<xsl:param name="Language" select="'en-US'"/>
19<xsl:output method="text" encoding="UTF-8"/>
20
21<xsl:template match="/">
22    <xsl:apply-templates select="//title" mode="include"/>
23    <xsl:apply-templates select="//paragraph[@role='heading']" mode="include"/>
24</xsl:template>
25
26<xsl:template match="*" mode="include">
27    <xsl:value-of select="."/>
28    <xsl:text>&#xA;</xsl:text>
29</xsl:template>
30
31<xsl:template match="*"/>
32
33</xsl:stylesheet>
34
35