This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
[ira/wip.git] / docs / docbook / xslt / db2latex / email.mod.xsl
1 <?xml version='1.0'?>
2 <!--############################################################################# 
3 |       $Id: email.mod.xsl,v 1.1 2003/04/30 21:39:49 ab Exp $
4 |- #############################################################################
5 |       $Author: ab $
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="email" xmlns="">
19         <referenceinfo>
20             <releaseinfo role="meta">
21                 $Id: email.mod.xsl,v 1.1 2003/04/30 21:39:49 ab 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
33         <title>Email <filename>email.mod.xsl</filename></title>
34         <partintro>
35             <section><title>Introduction</title>
36                 <para></para>
37             </section>
38         </partintro>
39     </doc:reference>
40     <!--############################################################################# -->
41
42
43     <!--############################################################################# -->
44     <!-- DOCUMENTATION                                                                -->
45     <doc:template match="email" xmlns="">
46         <refpurpose> XSL template for email </refpurpose>
47         <refdescription>
48             <para>Outputs the mail in {\texttt }. Calls the normalize-scape template in order to get a 
49                 normalized email string. It does not process email content model.</para>
50             <formalpara><title>Remarks and Bugs</title>
51             </formalpara>
52         </refdescription>
53     </doc:template>
54     <!--############################################################################# -->
55
56
57     <xsl:template match="email">
58         <xsl:text>\texttt{&lt;</xsl:text> 
59         <xsl:call-template name="ulink">
60                 <xsl:with-param name="url" select="concat('mailto:',.)"/>
61         </xsl:call-template>
62         <xsl:text>&gt;}</xsl:text>
63     </xsl:template>
64
65 </xsl:stylesheet>