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 sitemap.xsl
Date Tue, 04 May 2004 23:02:07 GMT
nd          2004/05/04 16:02:07

  Modified:    docs/manual/style/xsl Tag: APACHE_2_0_BRANCH sitemap.xsl
  Log:
  simplifications
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.4.2.14  +5 -13     httpd-2.0/docs/manual/style/xsl/sitemap.xsl
  
  Index: sitemap.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/sitemap.xsl,v
  retrieving revision 1.4.2.13
  retrieving revision 1.4.2.14
  diff -u -u -r1.4.2.13 -r1.4.2.14
  --- sitemap.xsl	4 May 2004 21:57:50 -0000	1.4.2.13
  +++ sitemap.xsl	4 May 2004 23:02:07 -0000	1.4.2.14
  @@ -23,11 +23,6 @@
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                     xmlns="http://www.w3.org/1999/xhtml">
   
  -<!-- If we use document() in the context of this xsl file, the contextual -->
  -<!-- CWD is the xsl file containing directory. $basedir reflects the      -->
  -<!-- manual root for that case.                                           -->
  -<xsl:variable name="basedir" select="'../../'" />
  -
   <!-- ==================================================================== -->
   <!-- <sitemap>                                                            -->
   <!-- Process an entire document into an HTML page                         -->
  @@ -177,8 +172,7 @@
   <xsl:variable name="translist">
       <xsl:text>-</xsl:text>
       <xsl:for-each select="modulefile">
  -        <xsl:variable name="current"
  -            select="document(concat($basedir,'mod/',.))/modulesynopsis" />
  +        <xsl:variable name="current" select="document(.)/modulesynopsis" />
      
           <xsl:text> </xsl:text>
           <xsl:value-of select="$current/name" />
  @@ -204,10 +198,9 @@
   
   <xsl:for-each select="modulefile">
   <xsl:sort select="substring-before(substring-after($translist, concat('- ',
  -    document(concat($basedir,'mod/',.))/modulesynopsis/name, ' ')), ' -')" />
  +                  document(.)/modulesynopsis/name, ' ')), ' -')" />
   
  -    <xsl:variable name="current" select="document(concat($basedir, 'mod/', .))
  -                                         /modulesynopsis" />
  +    <xsl:variable name="current" select="document(.)/modulesynopsis" />
   
       <xsl:if test="$current/status='MPM' and $current/name!='mpm_common'">
           <xsl:variable name="name" select="substring-before(substring-after(
  @@ -227,10 +220,9 @@
   <ul>
   <xsl:for-each select="modulefile">
   <xsl:sort select="substring-before(substring-after($translist, concat('- ',
  -    document(concat($basedir,'mod/',.))/modulesynopsis/name, ' ')), ' -')"/>
  +                  document(.)/modulesynopsis/name, ' ')), ' -')"/>
   
  -    <xsl:variable name="current" select="document(concat($basedir,'mod/',.))
  -                                         /modulesynopsis" />
  +    <xsl:variable name="current" select="document(.)/modulesynopsis" />
   
       <xsl:if test="$current/status!='MPM' and $current/status!='Core'">
           <li>
  
  
  

Mime
View raw message