[yelp/yelp-3-0] [db2html.xsl] linkend->xref was more complication than needed, and wrong



commit 4743a7720d29f1aea6b598f2af3067779421354b
Author: Shaun McCance <shaunm gnome org>
Date:   Sun Mar 21 17:31:28 2010 -0500

    [db2html.xsl] linkend->xref was more complication than needed, and wrong

 stylesheets/db2html.xsl.in |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/stylesheets/db2html.xsl.in b/stylesheets/db2html.xsl.in
index edde723..59762e4 100644
--- a/stylesheets/db2html.xsl.in
+++ b/stylesheets/db2html.xsl.in
@@ -69,17 +69,7 @@ FIXME: yelp:cache no longer works
 <!-- == db.xref.target == -->
 <xsl:template name="db.xref.target">
   <xsl:param name="linkend"/>
-  <xsl:param name="depth_in_chunk">
-    <xsl:call-template name="db.chunk.depth-in-chunk"/>
-  </xsl:param>
-  <xsl:choose>
-    <xsl:when test="$depth_in_chunk != 0">
-      <xsl:value-of select="concat('xref:#', $linkend)"/>
-    </xsl:when>
-    <xsl:otherwise>
-      <xsl:value-of select="concat('xref:', $linkend)"/>
-    </xsl:otherwise>
-  </xsl:choose>
+  <xsl:value-of select="concat('xref:', $linkend)"/>
 </xsl:template>
 
 <!-- == db2html.division.head.extra == -->



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]