forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/stylesheets changes2document.xsl
Date Sun, 21 Sep 2003 09:48:07 GMT
jefft       2003/09/21 02:48:07

  Modified:    src/resources/stylesheets changes2document.xsl
  Log:
  Remove pointless xsl:text tags, and handle unknown action types
  
  Revision  Changes    Path
  1.21      +4 -2      xml-forrest/src/resources/stylesheets/changes2document.xsl
  
  Index: changes2document.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/stylesheets/changes2document.xsl,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- changes2document.xsl	21 Sep 2003 09:17:22 -0000	1.20
  +++ changes2document.xsl	21 Sep 2003 09:48:07 -0000	1.21
  @@ -19,7 +19,7 @@
    <xsl:template match="changes">
     <document>
      <header>
  -    <title><xsl:text>History of Changes</xsl:text></title>
  +    <title>History of Changes</title>
      </header>
      <body>
       <p><link href="changes.rss"><img src="images/rss.png" alt="RSS"/></link></p>
   
  @@ -30,13 +30,15 @@
   
    <xsl:template match="release">
     <section id="version_{@version}">
  -   <title><xsl:text>Version </xsl:text><xsl:value-of select="@version"/>
(<xsl:value-of select="@date"/>)</title>
  +   <title>Version <xsl:value-of select="@version"/> (<xsl:value-of select="@date"/>)</title>
      <ul>
        <!-- To sort types by add,remove,update,fix. Look nicer -->
        <xsl:apply-templates select="action[@type='add']"/>
        <xsl:apply-templates select="action[@type='remove']"/>
        <xsl:apply-templates select="action[@type='update']"/>
        <xsl:apply-templates select="action[@type='fix']"/>
  +     <xsl:apply-templates select="action[@type='hack']"/>
  +     <xsl:apply-templates select="action[@type!='add' and @type!='remove' and @type!='update'
and @type!='fix' and @type!='hack']"/>
      </ul>
     </section>
    </xsl:template>
  
  
  

Mime
View raw message