]> granicus.if.org Git - docbook-dsssl/commitdiff
Added DIV wrappers to author and authorgroup for CSS styling
authorNorman Walsh <ndw@nwalsh.com>
Fri, 1 Mar 2002 09:05:13 +0000 (09:05 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 1 Mar 2002 09:05:13 +0000 (09:05 +0000)
xsl/html/titlepage.xsl

index 6e4f0f19209ee957a9c3dae418efc23e9fe15167..7895d2b4f760e265851ba54391daa1759b0d8251 100644 (file)
 </xsl:template>
 
 <xsl:template match="author" mode="titlepage.mode">
-  <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="./affiliation"/>
+  <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="./affiliation"/>
+  </div>
 </xsl:template>
 
 <xsl:template match="authorblurb" mode="titlepage.mode">
 </xsl:template>
 
 <xsl:template match="authorgroup" mode="titlepage.mode">
-  <xsl:apply-templates mode="titlepage.mode"/>
+  <div class="{name(.)}">
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
 </xsl:template>
 
 <xsl:template match="authorinitials" mode="titlepage.mode">