Debian Codegraph @

xsl/email.xsl

raw
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
3
4 <!--############################################################################
5 XSLT Stylesheet DocBook -> LaTeX
6 ############################################################################ -->
7
8 <xsl:template match="email">
9 <xsl:text>\href{mailto:</xsl:text>
10 <xsl:value-of select="."/>
11 <xsl:text>}{</xsl:text>
12 <xsl:call-template name="hyphen-encode">
13 <xsl:with-param name="string">
14 <xsl:apply-templates/>
15 </xsl:with-param>
16 </xsl:call-template>
17 <xsl:text>}</xsl:text>
18 </xsl:template>
19
20 </xsl:stylesheet>