You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2005/07/02 17:18:16 UTC
svn commit: r208843 - in
/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets:
changes2document.xsl changes2rss.xsl dotdots.xsl releaseNotes2document.xsl
Author: crossley
Date: Sat Jul 2 08:18:16 2005
New Revision: 208843
URL: http://svn.apache.org/viewcvs?rev=208843&view=rev
Log:
Whitespace changes only. Tabs to spaces, remove trailing whitespace.
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes2document.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes2rss.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/dotdots.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes2document.xsl
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes2document.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes2document.xsl?rev=208843&r1=208842&r2=208843&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes2document.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes2document.xsl Sat Jul 2 08:18:16 2005
@@ -18,7 +18,7 @@
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
+ version="1.0">
<xsl:param name="path"/>
<xsl:param name="versionNumber"/>
@@ -39,7 +39,7 @@
<xsl:template match="/">
<xsl:apply-templates select="//changes"/>
</xsl:template>
-
+
<xsl:template match="changes">
<document>
<header>
@@ -55,7 +55,7 @@
</title>
</header>
<body>
-
+
<p><link href="changes.rss"><img src="{$root}images/rss.png" alt="RSS"/></link></p>
<xsl:choose>
<xsl:when test="$versionNumber">
@@ -63,9 +63,9 @@
<xsl:when test="$versionNumber='current'">
<xsl:apply-templates select="//release[1]"/>
</xsl:when>
- <xsl:otherwise>
+ <xsl:otherwise>
<xsl:apply-templates select="//release[@version=$versionNumber]"/>
- </xsl:otherwise>
+ </xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
@@ -80,7 +80,7 @@
<xsl:template match="release">
<section id="version_{@version}">
- <title>Version <xsl:value-of select="@version"/> (<xsl:value-of select="@date"/>)</title>
+ <title>Version <xsl:value-of select="@version"/> (<xsl:value-of select="@date"/>)</title>
<xsl:for-each select="action[generate-id()=generate-id(key('contextes',concat(../@version, '_', @context)))]">
<xsl:sort select="@context"/>
<section>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes2rss.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes2rss.xsl?rev=208843&r1=208842&r2=208843&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes2rss.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes2rss.xsl Sat Jul 2 08:18:16 2005
@@ -51,14 +51,14 @@
<xsl:value-of select="@context" />
<xsl:text> </xsl:text>
<xsl:value-of select="@type" />
- by
+ by
<xsl:value-of select="@dev" />
<xsl:if test="@fixes-bug">
(fixes bug <xsl:value-of select="@fixes-bug" />)
</xsl:if>
:
<xsl:value-of select="." />
- <xsl:if test="@due-to"> Thanks to <xsl:value-of select="@due-to" />.</xsl:if>
+ <xsl:if test="@due-to"> Thanks to <xsl:value-of select="@due-to" />.</xsl:if>
</description>
</item>
</xsl:for-each>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/dotdots.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/dotdots.xsl?rev=208843&r1=208842&r2=208843&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/dotdots.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/dotdots.xsl Sat Jul 2 08:18:16 2005
@@ -22,7 +22,7 @@
'\' directory separators.
Examples:
- Input Output
+ Input Output
index.html ""
dir/index.html "../"
dir/subdir/index.html "../../"
@@ -49,15 +49,15 @@
o Adds a trailing character to the path. This prevents us having to deal
with the special case of ending with '/'
o Translates all directory separators to ' ', and normalize spaces,
- cunningly eliminating duplicate '//'s. We also translate any real
- spaces into _ to preserve them.
+ cunningly eliminating duplicate '//'s. We also translate any real
+ spaces into _ to preserve them.
-->
<xsl:variable name="remainder" select="substring-after($dirs, ' ')"/>
<xsl:if test="$remainder">
<xsl:text>../</xsl:text>
<xsl:call-template name="dotdots">
<xsl:with-param name="path" select="translate($remainder, ' ', '/')"/>
- <!-- Translate back to /'s because that's what the template expects. -->
+ <!-- Translate back to /'s because that's what the template expects. -->
</xsl:call-template>
</xsl:if>
</xsl:template>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes2document.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes2document.xsl?rev=208843&r1=208842&r2=208843&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes2document.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes2document.xsl Sat Jul 2 08:18:16 2005
@@ -18,7 +18,7 @@
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
+ version="1.0">
<xsl:param name="versionNumber"/>
<xsl:include href="changes2document.xsl"/>
@@ -36,9 +36,9 @@
<xsl:when test="$versionNumber='current'">
<xsl:value-of select="//release[1]/@version"/>
</xsl:when>
- <xsl:otherwise>
+ <xsl:otherwise>
<xsl:value-of select="$versionNumber"/>
- </xsl:otherwise>
+ </xsl:otherwise>
</xsl:choose>
</xsl:variable>
@@ -50,7 +50,7 @@
<xsl:template match="/">
<xsl:apply-templates select="//changes"/>
</xsl:template>
-
+
<xsl:template match="changes">
<document>
<header>
@@ -65,17 +65,17 @@
</xsl:choose>
</title>
</header>
- <body>
+ <body>
<xsl:if test="contains($realVersionNumber, 'dev')">
- <warning>Version <xsl:value-of select="$realVersionNumber"/> is a development release,
+ <warning>Version <xsl:value-of select="$realVersionNumber"/> is a development release,
these notes are therefore not complete, they are intended to be an indicator
of the major features that are so far included in this version.</warning>
</xsl:if>
-
+
<xsl:if test="release[@version=$realVersionNumber]/notes">
<xsl:apply-templates select="release[@version=$realVersionNumber]/notes"/>
</xsl:if>
-
+
<xsl:apply-templates select="release[@version=$realVersionNumber]"/>
</body>
</document>
@@ -84,7 +84,7 @@
<xsl:template match="release">
<section id="version_{@version}">
<title>Major Changes in Version <xsl:value-of select="@version"/></title>
- <note>This is not a complete list of changes, a
+ <note>This is not a complete list of changes, a
full list of changes in this release
<a href="changes_{$versionNumber}.html">is available</a>.</note>
<xsl:if test="action[@context='code' and @importance='high']">