goba            Sun Feb 10 06:06:00 2002 EDT

  Modified files:              
    /phpdoc/xsl htmlhelp-db.xsl.in 
  Log:
  Use concat instead of weird temp variables...
  
  
Index: phpdoc/xsl/htmlhelp-db.xsl.in
diff -u phpdoc/xsl/htmlhelp-db.xsl.in:1.3 phpdoc/xsl/htmlhelp-db.xsl.in:1.4
--- phpdoc/xsl/htmlhelp-db.xsl.in:1.3   Sat Feb  9 19:25:42 2002
+++ phpdoc/xsl/htmlhelp-db.xsl.in       Sun Feb 10 06:06:00 2002
@@ -34,6 +34,7 @@
     - removed blocks for index terms, maps and aliases
     - removed href.target.with.base.dir, as we have all the
       files in the same dir
+    - generate all hh[pkc] files into $base.dir
     - added a HHK generator part (slightly modified version of
       HHC generator)
 -->
@@ -77,13 +78,8 @@
 <!-- ==================================================================== -->
 
 <xsl:template name="hhp">
-  <xsl:variable name="htmlhelp.hhp.with.base">
-    <xsl:value-of select="$base.dir"/>
-    <xsl:text>/</xsl:text>
-    <xsl:value-of select="$htmlhelp.hhp"/>
-  </xsl:variable>
   <xsl:call-template name="write.text.chunk">
-    <xsl:with-param name="filename" select="$htmlhelp.hhp.with.base"/>
+    <xsl:with-param name="filename" select="concat($base.dir,$htmlhelp.hhp)"/>
     <xsl:with-param name="method" select="'text'"/>
     <xsl:with-param name="content">
       <xsl:call-template name="hhp-main"/>
@@ -193,13 +189,8 @@
      stuff instead. -->
 
 <xsl:template name="hhc">
-  <xsl:variable name="htmlhelp.hhc.with.base">
-    <xsl:value-of select="$base.dir"/>
-    <xsl:text>/</xsl:text>
-    <xsl:value-of select="$htmlhelp.hhc"/>
-  </xsl:variable>
   <xsl:call-template name="write.text.chunk">
-    <xsl:with-param name="filename" select="$htmlhelp.hhc.with.base"/>
+    <xsl:with-param name="filename" select="concat($base.dir,$htmlhelp.hhc)"/>
     <xsl:with-param name="method" select="'text'"/>
     <xsl:with-param name="content">
       <xsl:call-template name="hhc-main"/>
@@ -472,13 +463,8 @@
      stuff instead. -->
 
 <xsl:template name="hhk">
-  <xsl:variable name="htmlhelp.hhk.with.base">
-    <xsl:value-of select="$base.dir"/>
-    <xsl:text>/</xsl:text>
-    <xsl:value-of select="$htmlhelp.hhk"/>
-  </xsl:variable>
   <xsl:call-template name="write.text.chunk">
-    <xsl:with-param name="filename" select="$htmlhelp.hhk.with.base"/>
+    <xsl:with-param name="filename" select="concat($base.dir,$htmlhelp.hhk)"/>
     <xsl:with-param name="method" select="'text'"/>
     <xsl:with-param name="content">
       <xsl:call-template name="hhk-main"/>


Reply via email to