forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: cvs commit: xml-forrest/src/resources/stylesheets changes2document.xsl
Date Sun, 21 Sep 2003 09:27:11 GMT
On Sun, Sep 14, 2003 at 02:15:26PM -0000, cheche@apache.org wrote:
> cheche      2003/09/14 07:15:26
> 
>   Modified:    .        status.xml
>                src/resources/stylesheets changes2document.xsl
>   Log:
>   Add "version_" to section@id to validate as document-v12.
>   Sort action types order to "add","remove","update","fix".
...
>   @@ -19,7 +19,7 @@
>     <xsl:template match="changes">
>      <document>
>       <header>
>   -    <title>History of Changes</title>
>   +    <title><xsl:text>History of Changes</xsl:text></title>


What's the point of the xsl:text here?  AFAIK it doesn't make any
difference.

>       </header>
>       <body>
>        <p><link href="changes.rss"><img src="images/rss.png" alt="RSS"/></link></p>
   
>   @@ -29,10 +29,14 @@
>     </xsl:template>
>    
>     <xsl:template match="release">
>   -  <section id="{@version}">
>   -   <title>Version <xsl:value-of select="@version"/> (<xsl:value-of
select="@date"/>)</title>
>   +  <section id="version_{@version}">
>   +   <title><xsl:text>Version </xsl:text><xsl:value-of select="@version"/>
(<xsl:value-of select="@date"/>)</title>
>       <ul>
>   -    <xsl:apply-templates/>
>   +     <!-- 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']"/>

That's fine, except it leaves out all other possible types, like
type="hack".

I've fixed this in CVS.


--Jeff

>       </ul>
>      </section>
>     </xsl:template>

Mime
View raw message