blob: a9bc2e02ce104475c6f2598d9847434dfd0dfa8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
<?xml version='1.0'?>
<!--#############################################################################
|- #############################################################################
|
| PURPOSE:
+ ############################################################################## -->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
exclude-result-prefixes="doc" version='1.0'>
<!--############################################################################# -->
<!-- DOCUMENTATION -->
<doc:reference id="abstract" xmlns="">
<referenceinfo>
<releaseinfo role="meta">
</releaseinfo>
<authorgroup>
<author><firstname>Ramon</firstname> <surname>Casellas</surname></author>
<author><firstname>James</firstname> <surname>Devenish</surname></author>
</authorgroup>
<copyright>
<year>2000</year><year>2001</year><year>2002</year><year>2003</year>
<holder>Ramon Casellas</holder>
</copyright>
</referenceinfo>
<title>Abstract <filename>abstract.mod.xsl</filename></title>
<partintro>
<section><title>Introduction</title>
<para>This file <filename>abstract.mod.xsl</filename> contains a single
XSL template for <sgmltag>abstract</sgmltag>.</para>
<itemizedlist>
<listitem><para>Calls <literal>map.begin</literal>.</para></listitem>
<listitem><para>Processes children with <sgmltag>xsl:apply-templates</sgmltag>.</para></listitem>
<listitem><para>Calls <literal>map.end</literal></para></listitem>
<listitem><para>The abstract/title template is empty.</para></listitem>
</itemizedlist>
</section>
</partintro>
</doc:reference>
<!--############################################################################# -->
<!-- DOCUMENTATION -->
<doc:template match="abstract" xmlns="">
<refpurpose> Abstract XSL template. </refpurpose>
<refdescription>
<para>Calls template <xref linkend="map.begin"/>(<literal>map.begin</literal>),
to output the opening command (by default):</para>
<screen>
% --------------------------------------------
% Abstract
% --------------------------------------------
\begin{abstract}
</screen>
<para> Calls "apply-templates" for all the children, and calls template
<xref linkend="map.end"/>(<literal>map.end</literal>) to output the closing
command.</para>
<formalpara><title>Remarks and Bugs</title>
<itemizedlist>
<listitem><para> The title of the abstract is lost.</para></listitem>
<listitem><para> The template for abstract/title is defined EMPTY.</para></listitem>
</itemizedlist>
</formalpara>
<formalpara><title>Default Behaviour</title>
<screen>
Fill
</screen>
</formalpara>
</refdescription>
</doc:template>
<!--############################################################################# -->
<!-- TEMPLATE -->
<xsl:template match="abstract">
<xsl:call-template name="map.begin"/>
<xsl:apply-templates/>
<xsl:call-template name="map.end"/>
</xsl:template>
<xsl:template match="abstract/title"/>
</xsl:stylesheet>
|