Author: crossley
Date: Sat Apr 7 01:38:45 2007
New Revision: 526408
URL: http://svn.apache.org/viewvc?view=rev&rev=526408
Log:
Whitespace changes only. Using xmlformat. Issue: FOR-644
Modified:
forrest/trunk/whiteboard/sitemap-analysis/common-printer.xsl
forrest/trunk/whiteboard/sitemap-analysis/generator-printer.xsl
forrest/trunk/whiteboard/sitemap-analysis/selector-printer.xsl
forrest/trunk/whiteboard/sitemap-analysis/sitemap-evaluator.xsl
forrest/trunk/whiteboard/sitemap-analysis/transformer-printer.xsl
Modified: forrest/trunk/whiteboard/sitemap-analysis/common-printer.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/sitemap-analysis/common-printer.xsl?view=diff&rev=526408&r1=526407&r2=526408
==============================================================================
--- forrest/trunk/whiteboard/sitemap-analysis/common-printer.xsl (original)
+++ forrest/trunk/whiteboard/sitemap-analysis/common-printer.xsl Sat Apr 7
01:38:45 2007
@@ -15,12 +15,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:map="http://apache.org/cocoon/sitemap/1.0"
- xmlns:xalan="http://xml.apache.org/xalan">
-
-
-
-
-</xsl:stylesheet>
\ No newline at end of file
+ xmlns:xalan="http://xml.apache.org/xalan"></xsl:stylesheet>
Modified: forrest/trunk/whiteboard/sitemap-analysis/generator-printer.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/sitemap-analysis/generator-printer.xsl?view=diff&rev=526408&r1=526407&r2=526408
==============================================================================
--- forrest/trunk/whiteboard/sitemap-analysis/generator-printer.xsl (original)
+++ forrest/trunk/whiteboard/sitemap-analysis/generator-printer.xsl Sat Apr 7
01:38:45 2007
@@ -15,11 +15,9 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:map="http://apache.org/cocoon/sitemap/1.0"
xmlns:xalan="http://xml.apache.org/xalan">
-
<xsl:template name="print-generators">
<xsl:variable name="generators.all.new"
select="xalan:nodeset($generators.all.sorted)"/>
<p>
@@ -33,13 +31,11 @@
<xsl:variable name="pos" select="position()"/>
<xsl:variable name="current-generator" select="."/>
<xsl:if test="$pos=1 or
not($current-generator/@name=$generators.all.new/*[$pos - 1]/@name) ">
- <li>
- <xsl:value-of select="./@name"/> -
+ <li><xsl:value-of select="./@name"/> -
<xsl:call-template name="xmap-gen-component-list">
<xsl:with-param name="component" select="./@name"/>
- </xsl:call-template>
- </li>
+ </xsl:call-template></li>
</xsl:if>
</xsl:for-each>
</ul>
@@ -148,12 +144,11 @@
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:variable>
-
<xsl:template name="print-generator-usage">
<xsl:for-each select="/map:sitemap//map:generate">
<xsl:choose>
<xsl:when test="./@type">
- <li><xsl:value-of select="./@type"/></li>
+ <li><xsl:value-of select="./@type"/></li>
</xsl:when>
</xsl:choose>
</xsl:for-each>
Modified: forrest/trunk/whiteboard/sitemap-analysis/selector-printer.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/sitemap-analysis/selector-printer.xsl?view=diff&rev=526408&r1=526407&r2=526408
==============================================================================
--- forrest/trunk/whiteboard/sitemap-analysis/selector-printer.xsl (original)
+++ forrest/trunk/whiteboard/sitemap-analysis/selector-printer.xsl Sat Apr 7
01:38:45 2007
@@ -18,7 +18,6 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:map="http://apache.org/cocoon/sitemap/1.0"
xmlns:xalan="http://xml.apache.org/xalan">
-
<xsl:template name="print-selectors">
<xsl:variable name="selectors.all">
<xsl:for-each
select="/map:sitemap/map:components/map:selectors//map:selector">
@@ -81,13 +80,11 @@
<xsl:variable name="pos" select="position()"/>
<xsl:variable name="current-selector" select="."/>
<xsl:if test="$pos=1 or
not($current-selector/@name=$selectors.all.new/*[$pos - 1]/@name) ">
- <li>
- <xsl:value-of select="./@name"/> -
+ <li><xsl:value-of select="./@name"/> -
<xsl:call-template name="xmap-sel-component-list">
<xsl:with-param name="component" select="./@name"/>
- </xsl:call-template>
- </li>
+ </xsl:call-template></li>
</xsl:if>
</xsl:for-each>
</ul>
Modified: forrest/trunk/whiteboard/sitemap-analysis/sitemap-evaluator.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/sitemap-analysis/sitemap-evaluator.xsl?view=diff&rev=526408&r1=526407&r2=526408
==============================================================================
--- forrest/trunk/whiteboard/sitemap-analysis/sitemap-evaluator.xsl (original)
+++ forrest/trunk/whiteboard/sitemap-analysis/sitemap-evaluator.xsl Sat Apr 7
01:38:45 2007
@@ -15,7 +15,6 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<!--
This is the main stylesheet for analyzing the Forrest sitemaps. It calls
the others as needed.
@@ -28,12 +27,10 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:map="http://apache.org/cocoon/sitemap/1.0"
xmlns:xalan="http://xml.apache.org">
-
<xsl:import href="common-printer.xsl"/>
<xsl:import href="generator-printer.xsl"/>
<xsl:import href="transformer-printer.xsl"/>
<xsl:import href="selector-printer.xsl"/>
-
<xsl:variable name="aggregate"
select="document('../../main/webapp/aggregate.xmap')"/>
<xsl:variable name="faq" select="document('../../main/webapp/faq.xmap')"/>
<xsl:variable name="forrest"
select="document('../../main/webapp/forrest.xmap')"/>
@@ -42,30 +39,22 @@
<xsl:variable name="linkmap"
select="document('../../main/webapp/linkmap.xmap')"/>
<xsl:variable name="menu" select="document('../../main/webapp/menu.xmap')"/>
<xsl:variable name="profiler"
select="document('../../main/webapp/profiler.xmap')"/>
- <xsl:variable name="raw" select="document('../../main/webapp/raw.xmap')"/>
- <xsl:variable name="resources"
select="document('../../main/webapp/resources.xmap')"/>
+ <xsl:variable name="raw" select="document('../../main/webapp/raw.xmap')"/>
+ <xsl:variable name="resources"
select="document('../../main/webapp/resources.xmap')"/>
<xsl:variable name="revisions"
select="document('../../main/webapp/revisions.xmap')"/>
<xsl:variable name="search"
select="document('../../main/webapp/search.xmap')"/>
- <xsl:variable name="sitemap" select="/"/>
- <xsl:variable name="tabs" select="document('../../main/webapp/tabs.xmap')"/>
-
-<xsl:template match="/">
- <html>
- <head>
- <title>Sitemap Analysis</title>
- </head>
- <body>
- <xsl:call-template name="print-transformers"/>
- <xsl:call-template name="print-generators"/>
- <xsl:call-template name="print-selectors"/>
- </body>
- </html>
-</xsl:template>
-
-
-
-
-
-
-
+ <xsl:variable name="sitemap" select="/"/>
+ <xsl:variable name="tabs" select="document('../../main/webapp/tabs.xmap')"/>
+ <xsl:template match="/">
+ <html>
+ <head>
+ <title>Sitemap Analysis</title>
+ </head>
+ <body>
+ <xsl:call-template name="print-transformers"/>
+ <xsl:call-template name="print-generators"/>
+ <xsl:call-template name="print-selectors"/>
+ </body>
+ </html>
+ </xsl:template>
</xsl:stylesheet>
Modified: forrest/trunk/whiteboard/sitemap-analysis/transformer-printer.xsl
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/sitemap-analysis/transformer-printer.xsl?view=diff&rev=526408&r1=526407&r2=526408
==============================================================================
--- forrest/trunk/whiteboard/sitemap-analysis/transformer-printer.xsl (original)
+++ forrest/trunk/whiteboard/sitemap-analysis/transformer-printer.xsl Sat Apr
7 01:38:45 2007
@@ -18,7 +18,6 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:map="http://apache.org/cocoon/sitemap/1.0"
xmlns:xalan="http://xml.apache.org/xalan">
-
<xsl:template name="print-transformers">
<xsl:variable name="transformers.all">
<xsl:for-each
select="/map:sitemap/map:components/map:transformers//map:transformer">
@@ -81,13 +80,11 @@
<xsl:variable name="pos" select="position()"/>
<xsl:variable name="current-transformer" select="."/>
<xsl:if test="$pos=1 or
not($current-transformer/@name=$transformers.all.new/*[$pos - 1]/@name) ">
- <li>
- <xsl:value-of select="./@name"/> -
+ <li><xsl:value-of select="./@name"/> -
<xsl:call-template name="xmap-tran-component-list">
<xsl:with-param name="component" select="./@name"/>
- </xsl:call-template>
- </li>
+ </xsl:call-template></li>
</xsl:if>
</xsl:for-each>
</ul>