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">
18 <xsl:param name=
"Language" select=
"'en-US'"/>
19 <xsl:output method=
"text" encoding=
"UTF-8"/>
21 <xsl:template match=
"/">
22 <xsl:apply-templates select=
"//title" mode=
"include"/>
23 <xsl:apply-templates select=
"//paragraph[@role='heading']" mode=
"include"/>
26 <xsl:template match=
"*" mode=
"include">
27 <xsl:value-of select=
"."/>
28 <xsl:text>
</xsl:text>
31 <xsl:template match=
"*"/>