2 <!DOCTYPE xsl:stylesheet [
<!ENTITY % xsldoc.ent SYSTEM
"./xsldoc.ent"> %xsldoc.ent; ]
>
3 <!--#############################################################################
4 | $Id: abstract.mod.xsl,v 1.12 2003/12/30 13:38:04 j-devenish Exp $
5 |- #############################################################################
6 | $Author: j-devenish $
7 + ############################################################################## -->
10 xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform"
11 xmlns:
doc=
"http://nwalsh.com/xsl/documentation/1.0"
12 exclude-result-prefixes=
"doc" version='
1.0'
>
14 <doc:reference id=
"abstract" xmlns=
"">
16 <releaseinfo role=
"meta">
17 $Id: abstract.mod.xsl,v
1.12 2003/
12/
30 13:
38:
04 j-devenish Exp $
24 <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
25 <holder>Ramon Casellas
</holder>
28 <doc:revision rcasver=
"1.6">&rev_2003_05;</doc:revision>
31 <title>Abstracts
<filename>abstract.mod.xsl
</filename></title>
33 <para>The file
<filename>abstract.mod.xsl
</filename> contains the
34 XSL template for
<doc:db>abstract
</doc:db>.
</para>
38 <doc:template basename=
"abstract" match=
"abstract" xmlns=
"">
39 <refpurpose>Process
<doc:db>abstract
</doc:db> elements
</refpurpose>
42 Uses the
&latex; <function condition='env'
>abstract
</function> environment
43 to format
<quote>abstracts
</quote> as blocks.
50 <para>Currently, the
<doc:db>title
</doc:db> is not honoured.
</para>
51 <para>The
&db2latex; template for
<doc:db>abstract
</doc:db> is intended for use with
<doc:db>article
</doc:db> and
<doc:db>book
</doc:db>, only.
</para>
54 <simplelist type='inline'
>
64 <listitem><simpara>&mapping;</simpara></listitem>
68 <xsl:template match=
"abstract">
69 <xsl:variable name=
"keyword">
70 <xsl:value-of select=
"local-name(.)"/>
72 <!-- choose a different mapping -->
73 <xsl:text>-title
</xsl:text>
76 <xsl:call-template name=
"map.begin">
77 <xsl:with-param name=
"keyword" select=
"$keyword"/>
79 <xsl:call-template name=
"content-templates"/>
80 <xsl:call-template name=
"map.end">
81 <xsl:with-param name=
"keyword" select=
"$keyword"/>