trying to get HEAD building again. If you want the code
[sfrench/samba-autobuild/.git] / docs / docbook / xslt / db2latex / citation.mod.xsl
1 <?xml version='1.0'?>
2 <!--############################################################################# 
3 |- #############################################################################
4 |                                                                                                               
5 |   PURPOSE:
6 + ############################################################################## -->
7
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'>
12
13
14     <!--############################################################################# -->
15     <!-- DOCUMENTATION                                                                -->
16     <doc:reference id="citation" xmlns="">
17         <referenceinfo>
18             <releaseinfo role="meta">
19             </releaseinfo>
20             <authorgroup>
21             <author> <firstname>Ramon</firstname> <surname>Casellas</surname> </author>
22             <author> <firstname>James</firstname> <surname>Devenish</surname> </author>
23             </authorgroup>
24             <copyright>
25                 <year>2000</year> <year>2001</year> <year>2002</year> <year>2003</year>
26                 <holder>Ramon Casellas</holder>
27             </copyright>
28         </referenceinfo>
29
30         <title>Citation <filename>citation.mod.xsl</filename></title>
31         <partintro>
32             <section><title>Introduction</title>
33                 <para>This file contais a single (and simple!) XSL template, that maps the
34                 <sgmltag>citation</sgmltag> SGML tag to the LaTeX <literal>\cite{}</literal> 
35                 command.</para>
36             </section>
37         </partintro>
38     </doc:reference>
39
40
41     <!--############################################################################# -->
42     <!-- DOCUMENTATION                                                                -->
43     <doc:template match="citation" xmlns="">
44         <refpurpose> Citation XSL template.  </refpurpose>
45         <refdescription>
46             <para> Outputs a simple <literal>\cite{ }</literal> Command, 
47                 containing the result of processing the citation's children
48             </para>
49         </refdescription>
50     </doc:template>
51
52
53
54     <xsl:template match="citation">
55         <!-- todo: biblio-citation-check -->
56         <xsl:text>\docbooktolatexcite{</xsl:text>
57                 <xsl:value-of select="."/>
58         <xsl:text>}{}</xsl:text>
59     </xsl:template>
60
61 </xsl:stylesheet>
62
63