]> granicus.if.org Git - docbook-dsssl/commitdiff
Allow hyphnetation also in xlink urls
authorJirka Kosek <jirka@kosek.cz>
Fri, 13 Feb 2009 11:31:02 +0000 (11:31 +0000)
committerJirka Kosek <jirka@kosek.cz>
Fri, 13 Feb 2009 11:31:02 +0000 (11:31 +0000)
xsl/fo/xref.xsl

index dcc360cf4bf638c08d0016ca68ebde1b50f43bf4..f848beb990ff701c6362d8b7002374d1d5978f3d 100644 (file)
         </xsl:when>
         <!-- Use the xlink:href if no other text -->
         <xsl:when test="@xlink:href">
-          <xsl:value-of select="@xlink:href"/>
+         <xsl:call-template name="hyphenate-url">
+           <xsl:with-param name="url" select="@xlink:href"/>
+         </xsl:call-template>
         </xsl:when>
         <xsl:otherwise>
           <xsl:message>