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/chm hhc.xsl
Date Fri, 18 Apr 2003 01:59:44 GMT
nd          2003/04/17 18:59:44

  Modified:    docs/manual/style/chm hhc.xsl
  Log:
  respect the replace-space-with attribute in the toc
  
  Revision  Changes    Path
  1.2       +16 -2     httpd-2.0/docs/manual/style/chm/hhc.xsl
  
  Index: hhc.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/hhc.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- hhc.xsl	17 Apr 2003 16:42:15 -0000	1.1
  +++ hhc.xsl	18 Apr 2003 01:59:44 -0000	1.2
  @@ -426,7 +426,14 @@
                 <xsl:if test="@type='section'">&lt;</xsl:if>
                 <xsl:value-of select="name"/>
                 <xsl:if test="@type='section'">&gt;</xsl:if>
  -              <xsl:text> </xsl:text>
  +              <xsl:choose>
  +                <xsl:when test="$messages/message[@name='directive']/@replace-space-with">
  +                  <xsl:value-of select="$messages/message[@name='directive']/@replace-space-with"/>
  +                </xsl:when>
  +                <xsl:otherwise>
  +                  <xsl:text> </xsl:text>
  +                </xsl:otherwise>
  +              </xsl:choose>
                 <xsl:value-of select="$messages/message[@name='directive']"/>
               </xsl:with-param>
             </xsl:call-template>
  @@ -456,7 +463,14 @@
                 <xsl:if test="@type='section'">&lt;</xsl:if>
                 <xsl:value-of select="name"/>
                 <xsl:if test="@type='section'">&gt;</xsl:if>
  -              <xsl:text> </xsl:text>
  +              <xsl:choose>
  +                <xsl:when test="$messages/message[@name='directive']/@replace-space-with">
  +                  <xsl:value-of select="$messages/message[@name='directive']/@replace-space-with"/>
  +                </xsl:when>
  +                <xsl:otherwise>
  +                  <xsl:text> </xsl:text>
  +                </xsl:otherwise>
  +              </xsl:choose>
                 <xsl:value-of select="$messages/message[@name='directive']"/>
               </xsl:with-param>
             </xsl:call-template>
  
  
  

Mime
View raw message