2 <xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns="http://www.w3.org/TR/xhtml1/strict">
6 <xsl:strip-space elements="doc chapter section"/>
7 <xsl:output method="text" indent="yes" encoding="iso-8859-1"/>
9 <xsl:template match="doc">
10 <xsl:apply-templates/>
12 ------------------------------------------------------------------
13 <xsl:apply-templates select="//footnote" mode="footnotes"/>
16 <xsl:template match="article">
17 <xsl:apply-templates/>
20 <xsl:template match="book">
21 <xsl:apply-templates/>
24 <xsl:template match="report">
25 <xsl:apply-templates/>
28 <xsl:template match="titlepage">
29 *********************************************************************************
31 <xsl:apply-templates/>
33 *********************************************************************************
37 <xsl:template match="title">
38 <xsl:apply-templates/>
41 <xsl:template match="date">
42 <xsl:apply-templates/>
45 <xsl:template match="author">
46 <xsl:apply-templates/>
49 <xsl:template match="docinfo">
51 <xsl:apply-templates/>
54 <xsl:template match="infoitem">
55 <xsl:value-of select="@label"/>: <xsl:apply-templates/>
58 <xsl:template match="abstract">
62 <xsl:apply-templates/>
66 <xsl:template match="chapter/heading">
67 Chapter <xsl:number count="chapter"/>: <xsl:apply-templates/>
68 ===========================================================
72 <xsl:template match="section/heading">
75 <xsl:number count="chapter|section" level="multiple" format="1.1 "/>. <xsl:apply-templates/>
81 <xsl:template match="subsection/heading">
82 <xsl:apply-templates/>
85 <xsl:template match="subsubsection/heading">
86 <xsl:apply-templates/>
89 <xsl:template match="paragraph/heading">
90 <xsl:apply-templates/>
93 <xsl:template match="subparagraph/heading">
94 <xsl:apply-templates/>
97 <xsl:template match="para|quote">
99 <xsl:apply-templates/>
102 <xsl:template match="verbatim">
103 <xsl:apply-templates/>
106 <xsl:template match="itemize">
107 <xsl:apply-templates/>
110 <xsl:template match="enumerate">
111 <xsl:apply-templates/>
114 <xsl:template match="item">
115 - <xsl:apply-templates/>
118 <xsl:template match="footnote">(<xsl:number/>)</xsl:template>
120 <xsl:template match="footnote" mode="footnotes">
121 (<xsl:number/>) <xsl:apply-templates/>
125 <xsl:template match="sub|sup"><xsl:apply-templates/></xsl:template>
126 <xsl:template match="emph"><xsl:apply-templates/></xsl:template>
128 <xsl:template match="strong"><xsl:apply-templates/></xsl:template>
130 <xsl:template match="code"><xsl:apply-templates/></xsl:template>
132 <xsl:template match="remark"><xsl:apply-templates/></xsl:template>
134 <xsl:template match="newline">
137 <xsl:template match="newpage">
138 --------------NEW PAGE------------------
141 <xsl:template match="table">
142 <xsl:apply-templates/>
145 <xsl:template match="row">
146 <xsl:apply-templates/>
149 <xsl:template match="col">
150 <xsl:apply-templates/>
153 <xsl:template match="picture">
156 <xsl:template match="reference">
157 <xsl:apply-templates/>[<xsl:value-of select="@href"/>]
160 <xsl:template match="include">
161 <xsl:apply-templates select="document(@href)"/>