removing RCS tags
[Samba.git] / docs / docbook / xslt / db2latex / authorgroup.mod.xsl
blob6ec7460def52738fac6a94588293d243c5ec744d
1 <?xml version='1.0'?>
2 <!--#############################################################################
3 |- #############################################################################
4 |
5 | PURPOSE: Manage Authorgroups
6 + ############################################################################## -->
8 <xsl:stylesheet
9 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
10 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
11 exclude-result-prefixes="doc" version='1.0'>
15 <!--############################################################################# -->
16 <!-- DOCUMENTATION -->
17 <doc:reference id="authorgroup" xmlns="">
18 <referenceinfo>
19 <releaseinfo role="meta">
20 </releaseinfo>
21 <authorgroup>
22 <author><firstname>Ramon</firstname> <surname>Casellas</surname></author>
23 <author><firstname>James</firstname> <surname>Devenish</surname></author>
24 </authorgroup>
25 <copyright>
26 <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
27 <holder>Ramon Casellas</holder>
28 </copyright>
29 </referenceinfo>
31 <title>Authorgroup <filename>authorgroup.mod.xsl</filename></title>
32 <partintro>
33 <section><title>Introduction</title>
34 <formalpara><title>Pertinent Variables</title>
35 <itemizedlist>
36 <listitem><simpara><xref linkend="param.biblioentry.item.separator"/></simpara></listitem>
37 </itemizedlist>
38 </formalpara>
39 </section>
40 </partintro>
41 </doc:reference>
44 <!--############################################################################# -->
45 <!-- DOCUMENTATION -->
46 <doc:template match="authorgroup" xmlns="">
47 <refpurpose> Authorgroup XSL template. </refpurpose>
48 <refdescription>
49 </refdescription>
50 </doc:template>
52 <xsl:template match="authorgroup">
53 <xsl:for-each select="author">
54 <xsl:apply-templates select="."/>
55 <xsl:if test="not(position()=last())">
56 <xsl:text> \and </xsl:text>
57 </xsl:if>
58 </xsl:for-each>
59 </xsl:template>
64 <!--############################################################################# -->
65 <!-- DOCUMENTATION -->
66 <doc:template match="authorinitials" xmlns="">
67 <refpurpose> AuthorInitials XSL template. </refpurpose>
68 <refdescription>
69 </refdescription>
70 </doc:template>
72 <xsl:template match="authorinitials">
73 <xsl:apply-templates/>
74 <xsl:value-of select="$biblioentry.item.separator"/>
75 </xsl:template>
77 </xsl:stylesheet>