Moving docs tree to docs-xml to make room for generated docs in the release tarball.
[Samba.git] / docs-xml / xslt / db2latex-xsl / xsl / email.mod.xsl
blob2817790fbbd8862e7f81b9de6a36822b63ab5ca2
1 <?xml version='1.0'?>
2 <!DOCTYPE xsl:stylesheet [ <!ENTITY % xsldoc.ent SYSTEM "./xsldoc.ent"> %xsldoc.ent; ]>
3 <!--#############################################################################
4 | $Id: email.mod.xsl,v 1.6 2003/12/28 10:43:16 j-devenish Exp $
5 |- #############################################################################
6 | $Author: j-devenish $
7 + ############################################################################## -->
9 <xsl:stylesheet
10 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
11 xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
12 exclude-result-prefixes="doc" version='1.0'>
14 <doc:reference id="email" xmlns="">
15 <referenceinfo>
16 <releaseinfo role="meta">
17 $Id: email.mod.xsl,v 1.6 2003/12/28 10:43:16 j-devenish Exp $
18 </releaseinfo>
19 <authorgroup>
20 &ramon;
21 &james;
22 </authorgroup>
23 <copyright>
24 <year>2000</year><year>2001</year><year>2002</year><year>2003</year>
25 <holder>Ramon Casellas</holder>
26 </copyright>
27 <revhistory>
28 <doc:revision rcasver="1.6">&rev_2003_05;</doc:revision>
29 </revhistory>
30 </referenceinfo>
31 <title>E-mail Addreses <filename>email.mod.xsl</filename></title>
32 <partintro>
33 <para>The file <filename>email.mod.xsl</filename> contains the
34 XSL template for <doc:db>email</doc:db>.</para>
35 </partintro>
36 </doc:reference>
38 <doc:template basename="email" match="email" xmlns="">
39 <refpurpose>Process <doc:db>email</doc:db> elements</refpurpose>
40 <doc:description>
41 <para>
42 Constructs a URL from the given e-mail address and
43 formats it with the template for <doc:db>ulink</doc:db>.
44 </para>
45 </doc:description>
46 <doc:variables>
47 <para>As for the <xref linkend="template.ulink"/> template.</para>
48 </doc:variables>
49 <doc:notes>
50 <para>When a an <doc:db>email</doc:db> is a child of an <doc:db>address</doc:db>,
51 it will be formatted along with all <quote>verbatim</quote> address text. In this
52 case, it might not be hyperlinked.</para>
53 </doc:notes>
54 <doc:samples>
55 <simplelist type='inline'>
56 &test_book;
57 &test_ddh;
58 &test_links;
59 </simplelist>
60 </doc:samples>
61 <doc:seealso>
62 <itemizedlist>
63 <listitem><simpara><xref linkend="template.ulink"/></simpara></listitem>
64 <!--
65 <listitem><simpara>&mapping;</simpara></listitem>
66 -->
67 </itemizedlist>
68 </doc:seealso>
69 </doc:template>
70 <xsl:template match="email">
71 <xsl:call-template name="ulink">
72 <xsl:with-param name="url" select="concat('mailto:',.)"/>
73 <xsl:with-param name="content" select="."/>
74 </xsl:call-template>
75 </xsl:template>
77 </xsl:stylesheet>