Not to poo-poo on your work, but have you considered using the Maven
Announcement plugin for generating release notes?  It performs the same job
of creating a text file based on the changes.xml items.

Brent Worden  

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, June 26, 2005 4:44 PM
> To: [EMAIL PROTECTED]
> Subject: svn commit: r201912 - 
> /jakarta/commons/proper/math/trunk/release-notes.xsl
> 
> Author: psteitz
> Date: Sun Jun 26 14:43:34 2005
> New Revision: 201912
> 
> URL: http://svn.apache.org/viewcvs?rev=201912&view=rev
> Log:
> Eliminated trailing spaces.
> 
> Modified:
>     jakarta/commons/proper/math/trunk/release-notes.xsl
> 
> Modified: jakarta/commons/proper/math/trunk/release-notes.xsl
> URL: 
> http://svn.apache.org/viewcvs/jakarta/commons/proper/math/trun
> k/release-notes.xsl?rev=201912&r1=201911&r2=201912&view=diff
> ==============================================================
> ================
> --- jakarta/commons/proper/math/trunk/release-notes.xsl (original)
> +++ jakarta/commons/proper/math/trunk/release-notes.xsl Sun Jun 26 
> +++ 14:43:34 2005
> @@ -77,27 +77,27 @@
>       kludge to re-insert line feeds removed by parser. 
> Assumes new lines all
>       start with three or more leading spaces. 
>  -->
> -<xsl:variable name="pad" select="'   '"/>
> -<xsl:template name="keep.breaks">
> +<xsl:variable name="pad" select="'   '"/>
> +<xsl:template name="keep.breaks">
>    <xsl:param name="input"/>
> -  <xsl:if test="string-length($input) &gt; 0">      
> -    <xsl:choose>
> -      <xsl:when test="contains($input,$pad)">
> -        <xsl:variable name="init" 
> select="normalize-space(substring-before($input,$pad))"/>
> -        <xsl:variable name="term" 
> select="substring-after($input,$pad)"/>
> +  <xsl:if test="string-length($input) &gt; 0">
> +    <xsl:choose>
> +      <xsl:when test="contains($input,$pad)">
> +        <xsl:variable name="init" 
> select="normalize-space(substring-before($input,$pad))"/>
> +        <xsl:variable name="term" 
> + select="substring-after($input,$pad)"/>
>          <xsl:if test="string-length($init) &gt; 0">
>            <xsl:value-of select="$init"/><xsl:value-of 
> select="$CRLF"/>
> -        </xsl:if>
> +        </xsl:if>
>          <xsl:if test="string-length($term) &gt; 0">
>            <xsl:call-template name="keep.breaks">
>              <xsl:with-param name="input" select="$term"/>
>            </xsl:call-template>
> -        </xsl:if>
> -      </xsl:when>
> -      <xsl:otherwise>
> -        <xsl:value-of select="normalize-space($input)"/>
> -      </xsl:otherwise>
> -    </xsl:choose>           
> -  </xsl:if>    
> +        </xsl:if>
> +      </xsl:when>
> +      <xsl:otherwise>
> +        <xsl:value-of select="normalize-space($input)"/>
> +      </xsl:otherwise>
> +    </xsl:choose>
> +  </xsl:if>
>  </xsl:template>
>  </xsl:stylesheet>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to