trying to get HEAD building again. If you want the code
[abartlet/samba.git/.git] / docs / docbook / xslt / db2latex / email.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="email" 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>Email <filename>email.mod.xsl</filename></title>
31         <partintro>
32             <section><title>Introduction</title>
33                 <para></para>
34             </section>
35         </partintro>
36     </doc:reference>
37     <!--############################################################################# -->
38
39
40     <!--############################################################################# -->
41     <!-- DOCUMENTATION                                                                -->
42     <doc:template match="email" xmlns="">
43         <refpurpose> XSL template for email </refpurpose>
44         <refdescription>
45             <para>Outputs the mail in {\texttt }. Calls the normalize-scape template in order to get a 
46                 normalized email string. It does not process email content model.</para>
47             <formalpara><title>Remarks and Bugs</title>
48             </formalpara>
49         </refdescription>
50     </doc:template>
51     <!--############################################################################# -->
52
53
54     <xsl:template match="email">
55         <xsl:text>\texttt{&lt;</xsl:text> 
56         <xsl:call-template name="ulink">
57                 <xsl:with-param name="url" select="concat('mailto:',.)"/>
58         </xsl:call-template>
59         <xsl:text>&gt;}</xsl:text>
60     </xsl:template>
61
62 </xsl:stylesheet>