2 <!DOCTYPE xsl:stylesheet SYSTEM "xsl.dtd">
3 <xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns="http://www.w3.org/TR/xhtml1/strict">
7 <xsl:strip-space elements="doc chapter section"/>
8 <xsl:output method="text" indent="yes" encoding="iso-8859-1"/>
10 <xsl:template match="doc">
11 <xsl:apply-templates/>
13 ------------------------------------------------------------------
14 <xsl:apply-templates select="//footnote" mode="footnotes"/>
17 <xsl:template match="article">
18 <xsl:apply-templates/>
21 <xsl:template match="book">
22 <xsl:apply-templates/>
25 <xsl:template match="report">
26 <xsl:apply-templates/>
29 <xsl:template match="titlepage">
30 *********************************************************************************
32 <xsl:apply-templates/>
34 *********************************************************************************
38 <xsl:template match="title">
39 <xsl:apply-templates/>
42 <xsl:template match="date">
43 <xsl:apply-templates/>
46 <xsl:template match="author">
47 <xsl:apply-templates/>
50 <xsl:template match="docinfo">
52 <xsl:apply-templates/>
55 <xsl:template match="infoitem">
56 <xsl:value-of select="@label"/>: <xsl:apply-templates/>
59 <xsl:template match="abstract">
63 <xsl:apply-templates/>
67 <xsl:template match="chapter/heading">
68 Chapter <xsl:number count="chapter"/>: <xsl:apply-templates/>
69 ===========================================================
73 <xsl:template match="section/heading">
76 <xsl:number count="chapter|section" level="multiple" format="1.1 "/>. <xsl:apply-templates/>
82 <xsl:template match="subsection/heading">
83 <xsl:apply-templates/>
86 <xsl:template match="subsubsection/heading">
87 <xsl:apply-templates/>
90 <xsl:template match="paragraph/heading">
91 <xsl:apply-templates/>
94 <xsl:template match="subparagraph/heading">
95 <xsl:apply-templates/>
98 <xsl:template match="para|quote">
100 <xsl:apply-templates/>
103 <xsl:template match="verbatim">
104 <xsl:apply-templates/>
107 <xsl:template match="itemize">
108 <xsl:apply-templates/>
111 <xsl:template match="enumerate">
112 <xsl:apply-templates/>
115 <xsl:template match="item">
116 - <xsl:apply-templates/>
119 <xsl:template match="footnote">(<xsl:number/>)</xsl:template>
121 <xsl:template match="footnote" mode="footnotes">
122 (<xsl:number/>) <xsl:apply-templates/>
126 <xsl:template match="sub|sup"><xsl:apply-templates/></xsl:template>
127 <xsl:template match="emph"><xsl:apply-templates/></xsl:template>
129 <xsl:template match="strong"><xsl:apply-templates/></xsl:template>
131 <xsl:template match="code"><xsl:apply-templates/></xsl:template>
133 <xsl:template match="remark"><xsl:apply-templates/></xsl:template>
135 <xsl:template match="table">
136 <xsl:apply-templates/>
139 <xsl:template match="row">
140 <xsl:apply-templates/>
143 <xsl:template match="col">
144 <xsl:apply-templates/>
147 <xsl:template match="picture">
150 <xsl:template match="reference">
151 <xsl:apply-templates/>[<xsl:value-of select="@href"/>]
154 <xsl:template match="include">
155 <xsl:apply-templates select="document(@href)"/>