]> granicus.if.org Git - docbook-dsssl/commitdiff
DocBook 4.2 allows e-mail address inside author element and now is this feature suppo...
authorJirka Kosek <jirka@kosek.cz>
Mon, 23 Jun 2003 22:10:28 +0000 (22:10 +0000)
committerJirka Kosek <jirka@kosek.cz>
Mon, 23 Jun 2003 22:10:28 +0000 (22:10 +0000)
xsl/html/titlepage.xsl

index 4f50c8d77659f2c8e2315ef6d2bcdd096fec10ff..e252763a4f0486482792cd0b89ba00a9222d0916 100644 (file)
   <div class="{name(.)}">
     <h3 class="{name(.)}"><xsl:call-template name="person.name"/></h3>
     <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
+    <xsl:apply-templates mode="titlepage.mode" select="./email"/>
     <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
   </div>
 </xsl:template>
   <h3 class="{name(.)}"><xsl:call-template name="person.name"/></h3>
 </xsl:template>
 
+<xsl:template match="email" mode="titlepage.mode">
+  <!-- use the normal e-mail handling code -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
 <xsl:template match="firstname" mode="titlepage.mode">
   <span class="{name(.)}">
     <xsl:apply-templates mode="titlepage.mode"/>