374e444a08
work as in docbook-xsl-1.71.0 (and consistent with the DocBook Guide). svn path=/nixpkgs/trunk/; revision=7836
18 lines
629 B
Diff
18 lines
629 B
Diff
diff -rc docbook5-xsl-1.72.0-orig/html/xref.xsl docbook5-xsl-1.72.0/html/xref.xsl
|
|
*** docbook5-xsl-1.72.0-orig/html/xref.xsl 2007-01-23 21:50:22.000000000 +0100
|
|
--- docbook5-xsl-1.72.0/html/xref.xsl 2007-02-05 12:53:50.000000000 +0100
|
|
***************
|
|
*** 898,903 ****
|
|
--- 898,908 ----
|
|
<!-- If it has content, use it -->
|
|
<xsl:apply-templates/>
|
|
</xsl:when>
|
|
+ <xsl:when test="@xlink:href">
|
|
+ <a href="@xlink:href">
|
|
+ <xsl:value-of select="@xlink:href"/>
|
|
+ </a>
|
|
+ </xsl:when>
|
|
<xsl:otherwise>
|
|
<!-- else look for an endterm -->
|
|
<xsl:choose>
|