cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/stylesheets todo-stylebook.xsl
Date Mon, 03 Jan 2000 01:35:24 GMT
stefano     00/01/02 17:35:24

  Modified:    stylesheets todo-stylebook.xsl
  Log:
  updated to match the updated DTD
  
  Revision  Changes    Path
  1.3       +11 -31    xml-cocoon/stylesheets/todo-stylebook.xsl
  
  Index: todo-stylebook.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/stylesheets/todo-stylebook.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- todo-stylebook.xsl	1999/12/24 17:03:20	1.2
  +++ todo-stylebook.xsl	2000/01/03 01:35:24	1.3
  @@ -6,39 +6,19 @@
   
    <xsl:template match="todo">
     <s1 title="Todo List">
  -  <xsl:call-template name="section">
  -   <xsl:with-param name="priority">showstopper</xsl:with-param>
  -  </xsl:call-template>
  -  <xsl:call-template name="section">
  -   <xsl:with-param name="priority">high</xsl:with-param>
  -  </xsl:call-template>
  -  <xsl:call-template name="section">
  -   <xsl:with-param name="priority">medium</xsl:with-param>
  -  </xsl:call-template>
  -  <xsl:call-template name="section">
  -   <xsl:with-param name="priority">low</xsl:with-param>
  -  </xsl:call-template>
  -  <xsl:call-template name="section">
  -   <xsl:with-param name="priority">wish</xsl:with-param>
  -  </xsl:call-template>
  -  <xsl:call-template name="section">
  -   <xsl:with-param name="priority">dream</xsl:with-param>
  -  </xsl:call-template>
  +   <xsl:apply-templates/>
     </s1>
    </xsl:template>
   
  - <xsl:template name="section">
  -  <xsl:param name="priority">showstopper</xsl:param>
  -  <xsl:if test=".//action[@priority=$priority]">
  -   <s2 title="{$priority}">
  -    <xsl:for-each select=".//action[@priority=$priority]">
  -     <li>
  -      <em><xsl:value-of select="@context"/></em><xsl:text> - </xsl:text>
  -      <xsl:apply-templates/>
  -     </li>
  -    </xsl:for-each>
  -   </s2>
  -  </xsl:if>
  + <xsl:template match="actions">
  +  <s2 title="{@priority}">
  +   <xsl:for-each select="action">
  +    <li>
  +     <em><xsl:value-of select="@context"/></em><xsl:text> - </xsl:text>
  +     <xsl:apply-templates/>
  +    </li>
  +   </xsl:for-each>
  +  </s2>
    </xsl:template>
    
  -</xsl:stylesheet>
  +</xsl:stylesheet>
  \ No newline at end of file
  
  
  

Mime
View raw message