[yelp-xsl] mal-cache.xsl: Remove no-longer-needed info massaging



commit 093df70184deafb0352cbcb3c713893f059a7b46
Author: Shaun McCance <shaunm gnome org>
Date:   Tue Nov 1 20:42:14 2011 -0400

    mal-cache.xsl: Remove no-longer-needed info massaging

 xslt/mallard/cache/mal-cache.xsl |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/xslt/mallard/cache/mal-cache.xsl b/xslt/mallard/cache/mal-cache.xsl
index 55e1e3e..3bb3ddb 100644
--- a/xslt/mallard/cache/mal-cache.xsl
+++ b/xslt/mallard/cache/mal-cache.xsl
@@ -83,23 +83,6 @@ mal.cache.info
   <xsl:param name="info" select="$node/mal:info"/>
   <xsl:param name="node_in"/>
   <info>
-    <xsl:if test="not($info/mal:title[ type = 'link'][not(@role)])">
-      <title type="link">
-        <xsl:copy-of select="$node/mal:title/node()"/>
-      </title>
-    </xsl:if>
-    <xsl:if test="not($info/mal:title[ type = 'sort'])">
-      <title type="sort">
-        <xsl:choose>
-          <xsl:when test="$info/mal:title[ type = 'link']">
-            <xsl:copy-of select="$info/mal:title[ type = 'link'][1]/node()"/>
-          </xsl:when>
-          <xsl:otherwise>
-            <xsl:copy-of select="$node/mal:title/node()"/>
-          </xsl:otherwise>
-        </xsl:choose>
-      </title>
-    </xsl:if>
     <xsl:for-each select="$info/*">
       <xsl:choose>
         <xsl:when test="self::mal:link">
@@ -107,11 +90,6 @@ mal.cache.info
             <xsl:call-template name="mal.cache.xref">
               <xsl:with-param name="node_in" select="$node_in"/>
             </xsl:call-template>
-            <xsl:if test="@type = 'guide' and not(@weight)">
-              <xsl:attribute name="weight">
-                <xsl:text>0</xsl:text>
-              </xsl:attribute>
-            </xsl:if>
             <xsl:for-each select="attribute::*[not(name(.) = 'xref')] | *">
               <xsl:copy-of select="."/>
             </xsl:for-each>



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