You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-cvs@jakarta.apache.org by pa...@apache.org on 2001/02/28 01:32:26 UTC

cvs commit: jakarta-log4j/org/apache/log4j/xml tentative.xsl

pathos      01/02/27 16:32:26

  Modified:    org/apache/log4j/xml tentative.xsl
  Log:
  Small changes.
  
  Revision  Changes    Path
  1.2       +8 -13     jakarta-log4j/org/apache/log4j/xml/tentative.xsl
  
  Index: tentative.xsl
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/org/apache/log4j/xml/tentative.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- tentative.xsl	2000/12/14 09:16:07	1.1
  +++ tentative.xsl	2001/02/28 00:32:26	1.2
  @@ -1,16 +1,14 @@
   <?xml version="1.0"?>
   
  -<!-- This XSL stylesheet is a get-to-know experiment with the XSL
  +<!--
  +This XSL stylesheet is a get-to-know experiment with the XSL
   language. Future log4j versions might include different perhaps more
   useful stylesheets. 
  -
  -
  -
   -->
   
   <xsl:stylesheet version="1.0" 
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  -  xmlns:log4j="http://log4j.org"
  +  xmlns:log4j="http://jakarta.apache.org/log4j"
   >
   
   <xsl:variable name="start">
  @@ -25,18 +23,15 @@
      <xsl:value-of select="/log4j:eventSet/@relativeTime"/>
   </xsl:variable>
   
  -
   <xsl:template match="/">
     <html>
       <head></head>
       <body bgcolor="white">
         <xsl:apply-templates select="log4j:eventSet"/>
       </body>
  -    </html>  
  -
  +    </html>
   </xsl:template>
   
  -
   <xsl:template match="log4j:eventSet">
      <table border="1" cellspacing="2" cellspadding="2">
         <tr>
  @@ -45,8 +40,8 @@
                  <th>Rel. Time</th>         
               </xsl:when>
               <xsl:otherwise>
  -               <th>Time</th>   
  -            </xsl:otherwise>         
  +               <th>Time</th>
  +            </xsl:otherwise>
            </xsl:choose>
   
            <th>Priority</th>
  @@ -77,7 +72,8 @@
         <td><font>
            <xsl:choose>
               <xsl:when test="self::node()[@priority='ERROR' or
  -                                         @priority='EMERG']"> 
  +                                         @priority='EMERG' or
  +                                         @priority='FATAL']"> 
                 <xsl:attribute name="color">#FF0000</xsl:attribute>   
               </xsl:when>
               <xsl:when test="self::node()[@priority='WARN']"> 
  @@ -119,6 +115,5 @@
      <td colspan="8"><pre><xsl:value-of select="."/></pre></td>
    </tr>
   </xsl:template>
  - 
   
   </xsl:stylesheet>