]> granicus.if.org Git - docbook-dsssl/commitdiff
Add support for using info/title as well as title in target element.
authorBob Stayton <bobs@sagehill.net>
Sat, 12 May 2012 23:43:49 +0000 (23:43 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 12 May 2012 23:43:49 +0000 (23:43 +0000)
xsl/html/xref.xsl

index b23cb9f649c9d1bbb68ee7605d2d406a4967e9b1..fee2266c718ba08c0ea55039c90dc3d099266c4e 100644 (file)
 
       <a href="{$href}">
         <xsl:apply-templates select="." mode="class.attribute"/>
-        <xsl:if test="$target/title or $target/*/title">
+        <xsl:if test="$target/title or $target/info/title">
           <xsl:attribute name="title">
             <xsl:apply-templates select="$target" mode="xref-title"/>
           </xsl:attribute>