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