forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject cvs commit: xml-forrest/src/resources/library/xslt changes2document.xsl todo2document.xsl
Date Sat, 08 Jun 2002 13:39:58 GMT
stefano     2002/06/08 06:39:58

  Modified:    src/resources/library/xslt changes2document.xsl
                        todo2document.xsl
  Log:
  updated to document 1.1
  
  Revision  Changes    Path
  1.2       +9 -13     xml-forrest/src/resources/library/xslt/changes2document.xsl
  
  Index: changes2document.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/library/xslt/changes2document.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- changes2document.xsl	29 May 2002 16:44:55 -0000	1.1
  +++ changes2document.xsl	8 Jun 2002 13:39:58 -0000	1.2
  @@ -4,16 +4,16 @@
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
       version="1.0">
   
  - <xsl:import href="copyover.xsl"/>
  -
  - <xsl:param name="name"/>
  -
    <xsl:variable name="bugzilla">http://nagoya.apache.org/bugzilla/show_bug.cgi?id=</xsl:variable>
   
  + <xsl:template match="/">
  +  <xsl:apply-templates select="//changes"/>
  + </xsl:template>
  + 
    <xsl:template match="changes">
     <document>
      <header>
  -    <title><xsl:value-of select="@title"/></title>
  +    <title>History of Changes</title>
      </header>
      <body>
       <xsl:apply-templates/>
  @@ -22,11 +22,11 @@
    </xsl:template>
   
    <xsl:template match="release">
  -  <s2 title="{$name} {@version} ({@date})">
  -   <sl>
  +  <section title="Version {@version} ({@date})">
  +   <ul>
       <xsl:apply-templates/>
  -   </sl>
  -  </s2>
  +   </ul>
  +  </section>
    </xsl:template>
   
    <xsl:template match="action">
  @@ -49,10 +49,6 @@
       <xsl:text>.</xsl:text>
      </xsl:if>
     </li>
  - </xsl:template>
  -
  - <xsl:template match="devs">
  -  <!-- remove -->
    </xsl:template>
   
   </xsl:stylesheet>
  
  
  
  1.2       +9 -7      xml-forrest/src/resources/library/xslt/todo2document.xsl
  
  Index: todo2document.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/library/xslt/todo2document.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- todo2document.xsl	29 May 2002 16:44:55 -0000	1.1
  +++ todo2document.xsl	8 Jun 2002 13:39:58 -0000	1.2
  @@ -4,12 +4,14 @@
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
       version="1.0">
   
  - <xsl:import href="copyover.xsl"/>
  + <xsl:template match="/">
  +  <xsl:apply-templates select="//todo"/>
  + </xsl:template>
    
    <xsl:template match="todo">
     <document>
      <header>
  -    <title><xsl:value-of select="@title"/></title>
  +    <title>Todo List</title>
      </header>
      <body>
       <xsl:apply-templates/>
  @@ -18,16 +20,16 @@
    </xsl:template>
   
    <xsl:template match="actions">
  -  <s2 title="{@priority}">
  -   <sl>
  +  <section title="{@priority}">
  +   <ul>
       <xsl:for-each select="action">
        <li>
         <strong><xsl:text>[</xsl:text><xsl:value-of select="@context"/><xsl:text>]</xsl:text></strong><xsl:text>
</xsl:text>
  -      <xsl:apply-templates/>
  +      <xsl:apply-templates mode="copy"/>
        </li>
       </xsl:for-each>
  -   </sl>
  -  </s2>
  +   </ul>
  +  </section>
    </xsl:template>
    
   </xsl:stylesheet>
  
  
  

Mime
View raw message