httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/docs/manual/style/xsl common.xsl
Date Sat, 12 Apr 2003 14:35:50 GMT
nd          2003/04/12 07:35:50

  Modified:    docs/manual/style/xsl common.xsl
  Log:
  use the metafile to determine the relative path to manual-root.
  the relativepath element becomes obsolete.
  
  Revision  Changes    Path
  1.26      +1 -10     httpd-2.0/docs/manual/style/xsl/common.xsl
  
  Index: common.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/common.xsl,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- common.xsl	6 Apr 2003 18:01:34 -0000	1.25
  +++ common.xsl	12 Apr 2003 14:35:50 -0000	1.26
  @@ -22,16 +22,7 @@
     </xsl:variable>
   
     <!-- relative path to /manual/ -->
  -  <xsl:variable name="path">
  -    <xsl:choose>
  -      <xsl:when test="*/relativepath/@href">
  -        <xsl:value-of select="*/relativepath/@href"/>
  -      </xsl:when>
  -      <xsl:otherwise>
  -        <xsl:value-of select="'..'"/>
  -      </xsl:otherwise>
  -    </xsl:choose>
  -  </xsl:variable>
  +  <xsl:variable name="path" select="document(/*/@metafile)/metafile/relpath" />
   
     <!-- load outsourced page types -->
     <xsl:include href="moduleindex.xsl"/>
  
  
  

Mime
View raw message