This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[sfrench/samba-autobuild/.git] / docs / docbook / xslt / db2latex / authorgroup.mod.xsl
1 <?xml version='1.0'?>
2 <!--############################################################################# 
3 |       $Id: authorgroup.mod.xsl,v 1.1.2.1 2003/05/01 14:06:14 jelmer Exp $
4 |- #############################################################################
5 |       $Author: jelmer $                                                                                               
6 |                                                                                                               
7 |   PURPOSE: Manage Authorgroups 
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     <!--############################################################################# -->
18     <!-- DOCUMENTATION                                                                -->
19     <doc:reference id="authorgroup" xmlns="">
20         <referenceinfo>
21             <releaseinfo role="meta">
22                 $Id: authorgroup.mod.xsl,v 1.1.2.1 2003/05/01 14:06:14 jelmer Exp $
23             </releaseinfo>
24                 <authorgroup>
25                 <author><firstname>Ramon</firstname> <surname>Casellas</surname></author>
26                 <author><firstname>James</firstname> <surname>Devenish</surname></author>
27                 </authorgroup>
28             <copyright>
29                 <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
30                 <holder>Ramon Casellas</holder>
31             </copyright>
32         </referenceinfo>
33
34         <title>Authorgroup <filename>authorgroup.mod.xsl</filename></title>
35         <partintro>
36             <section><title>Introduction</title>
37                 <formalpara><title>Pertinent Variables</title>
38                         <itemizedlist>
39                                 <listitem><simpara><xref linkend="param.biblioentry.item.separator"/></simpara></listitem>
40                         </itemizedlist>
41                 </formalpara>
42             </section>
43         </partintro>
44     </doc:reference>
45
46
47     <!--############################################################################# -->
48     <!-- DOCUMENTATION                                                                -->
49     <doc:template match="authorgroup" xmlns="">
50         <refpurpose> Authorgroup XSL template.  </refpurpose>
51         <refdescription>
52         </refdescription>
53     </doc:template>
54
55     <xsl:template match="authorgroup">
56         <xsl:for-each select="author">
57             <xsl:apply-templates select="."/>
58             <xsl:if test="not(position()=last())">
59                 <xsl:text> \and </xsl:text>
60             </xsl:if>
61         </xsl:for-each>
62     </xsl:template>
63
64
65
66
67     <!--############################################################################# -->
68     <!-- DOCUMENTATION                                                                -->
69     <doc:template match="authorinitials" xmlns="">
70         <refpurpose> AuthorInitials XSL template.  </refpurpose>
71         <refdescription>
72         </refdescription>
73     </doc:template>
74
75     <xsl:template match="authorinitials">
76         <xsl:apply-templates/>
77         <xsl:value-of select="$biblioentry.item.separator"/>
78     </xsl:template>
79
80 </xsl:stylesheet>
81