bjori           Thu Jul  5 14:19:23 2007 UTC

  Modified files:              
    /phpdoc/phpbook/phpbook-xsl common.xsl 
  Log:
  Remove broken and odd code
  # Fixes linking in the xchm
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/phpbook/phpbook-xsl/common.xsl?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/phpbook/phpbook-xsl/common.xsl
diff -u phpdoc/phpbook/phpbook-xsl/common.xsl:1.4 
phpdoc/phpbook/phpbook-xsl/common.xsl:1.5
--- phpdoc/phpbook/phpbook-xsl/common.xsl:1.4   Wed Jun 20 22:25:41 2007
+++ phpdoc/phpbook/phpbook-xsl/common.xsl       Thu Jul  5 14:19:23 2007
@@ -3,7 +3,7 @@
 
   common.xsl: Common customizations for all HTML formats
 
-  $Id: common.xsl,v 1.4 2007/06/20 22:25:41 bjori Exp $
+  $Id: common.xsl,v 1.5 2007/07/05 14:19:23 bjori Exp $
 
   What is done in this stylesheet as common to all HTML output formats:
 
@@ -411,14 +411,10 @@
     </xsl:choose>
   </xsl:variable>
   
-  <xsl:variable name="function.href">
-    <xsl:call-template name="href.target">
-      <xsl:with-param name="object" select="id(concat('function.', 
translate($argument,'_','-')))"/> 
-    </xsl:call-template>
-  </xsl:variable>
+  <xsl:variable name="function.href" select="concat('function.', 
translate($argument,'_','-'))"/> 
 
   <xsl:choose>
-    <xsl:when test="ancestor::refentry/@id=concat('function.', 
translate($argument,'_','-'))">
+    <xsl:when test="ancestor::refentry/@id=$function.href">
        <xsl:copy-of select="$content"/>
     </xsl:when>
     <xsl:when test="string-length($function.href) != 0">

Reply via email to