vmassol     01/04/29 09:25:16

  Modified:    cactus/docs/framework/skins/jakarta.apache.org/stylesheets
                        changes2document.xsl
  Log:
  take into account the date and time when ordering log entries + list all files 
affected by a given log entry (and not only the first involved file)
  
  Revision  Changes    Path
  1.4       +10 -5     
jakarta-commons/cactus/docs/framework/skins/jakarta.apache.org/stylesheets/changes2document.xsl
  
  Index: changes2document.xsl
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/cactus/docs/framework/skins/jakarta.apache.org/stylesheets/changes2document.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- changes2document.xsl      2001/04/29 11:30:43     1.3
  +++ changes2document.xsl      2001/04/29 16:25:15     1.4
  @@ -83,7 +83,7 @@
         <xsl:when test="entry">
           <table>
             <xsl:apply-templates select="entry">
  -            <xsl:sort select="date" order="descending"/>
  +            <xsl:sort select="concat(date,time)" order="descending"/>
             </xsl:apply-templates>
           </table>
         </xsl:when>
  @@ -95,13 +95,18 @@
   
     <xsl:template match="entry">
       <tr>
  -      <td>
  +      <td nowrap="true">
           <xsl:value-of select="date"/>
         </td>
         <td>
  -        <link href="{concat(substring-before(file/name, '.'),'.html')}">
  -          <xsl:value-of select="substring-before(file/name, '.')"/>
  -        </link>
  +        <xsl:for-each select="file">
  +          <link href="{concat(substring-before(name, '.'),'.html')}">
  +            <xsl:value-of select="substring-before(name, '.')"/>
  +          </link>
  +          <xsl:if test="position()!=last()">
  +            <xsl:text>, </xsl:text>
  +          </xsl:if>
  +        </xsl:for-each>
         </td>
         <td>
           <xsl:value-of select="msg"/>
  
  
  

Reply via email to