]> granicus.if.org Git - docbook-dsssl/commitdiff
Use the ulink.show parameter when rendering ulinks
authorNorman Walsh <ndw@nwalsh.com>
Thu, 10 Jan 2002 22:25:42 +0000 (22:25 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 10 Jan 2002 22:25:42 +0000 (22:25 +0000)
xsl/fo/xref.xsl

index 5338991026d00448b08f717e41cba91945ad37e8..49754d44e7ee41d8805745cfbde1c3dbc0aadaff 100644 (file)
               </xsl:otherwise>
             </xsl:choose>
           </xsl:when>
-        
+
           <xsl:otherwise>
             <xsl:message>
               <xsl:text>Link element has no content and no Endterm. </xsl:text>
       </xsl:otherwise>
     </xsl:choose>
   </fo:basic-link>
-  <xsl:if test="count(child::node()) != 0">
+  <xsl:if test="count(child::node()) != 0
+                and string(.) != @url
+                and $ulink.show != 0">
     <fo:inline hyphenate="false">
       <xsl:text> [</xsl:text>
       <xsl:value-of select="@url"/>