]> granicus.if.org Git - docbook-dsssl/commitdiff
Output anchors for author/editor/othercredit names
authorNorman Walsh <ndw@nwalsh.com>
Fri, 1 Nov 2002 12:52:43 +0000 (12:52 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 1 Nov 2002 12:52:43 +0000 (12:52 +0000)
xsl/html/inline.xsl

index 5b71d494fbb3ae55f15d0168cc92f004a1ff1356..76af289f5a81ee97a88717269c7b1b6172adf61b 100644 (file)
 <!-- some special cases -->
 
 <xsl:template match="author">
-  <span class="{name(.)}"><xsl:call-template name="person.name"/></span>
+  <span class="{name(.)}">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="person.name"/>
+  </span>
 </xsl:template>
 
 <xsl:template match="editor">
-  <span class="{name(.)}"><xsl:call-template name="person.name"/></span>
+  <span class="{name(.)}">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="person.name"/>
+  </span>
 </xsl:template>
 
 <xsl:template match="othercredit">
-  <span class="{name(.)}"><xsl:call-template name="person.name"/></span>
+  <span class="{name(.)}">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="person.name"/>
+  </span>
 </xsl:template>
 
 <xsl:template match="authorinitials">