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/trunk/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) > 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) > 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) > 0">
<xsl:value-of select="$init"/><xsl:value-of select="$CRLF"/>
- </xsl:if>
+ </xsl:if>
<xsl:if test="string-length($term) > 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]