forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r526993 [5/6] - in /forrest/trunk/main/webapp/skins: coat/ coat/css/ coat/xslt/fo/ coat/xslt/html/ forrest-site/xslt/fo/ forrest-site/xslt/html/ krysalis-site/ krysalis-site/css/ krysalis-site/xslt/fo/ krysalis-site/xslt/html/ leather-dev/ ...
Date Tue, 10 Apr 2007 01:49:47 GMT
Modified: forrest/trunk/main/webapp/skins/scales/xslt/html/site-to-xhtml.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/scales/xslt/html/site-to-xhtml.xsl?view=diff&rev=526993&r1=526992&r2=526993
==============================================================================
--- forrest/trunk/main/webapp/skins/scales/xslt/html/site-to-xhtml.xsl (original)
+++ forrest/trunk/main/webapp/skins/scales/xslt/html/site-to-xhtml.xsl Mon Apr  9 18:49:44 2007
@@ -33,95 +33,85 @@
 </site>
 
 -->
-
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:i18n="http://apache.org/cocoon/i18n/2.1" exclude-result-prefixes="i18n">
-
   <xsl:import href="../../../common/xslt/html/site-to-xhtml.xsl"/>
 <!--+
   |Overall site template
   +-->
   <xsl:template match="site">
-    <!--html lang="en" xml:lang="en"-->
+<!--html lang="en" xml:lang="en"-->
     <html>
 <!--+
   |HTML-head
   +-->
-        <head>
+      <head>
 <!--+
   |generator meta
   +-->
-            <!-- Add some Forrest-specific metadata -->
-            <xsl:call-template name="html-meta"/>
-            <!-- Add any metadata from the documents -->
-            <xsl:call-template name="meta-data"/>
+<!-- Add some Forrest-specific metadata -->
+        <xsl:call-template name="html-meta"/>
+<!-- Add any metadata from the documents -->
+        <xsl:call-template name="meta-data"/>
 <!--+
   |title
   +-->
-            <title>
-                <xsl:value-of select="div[@id='content']/h1"/>
-                <xsl:if test="$config/motd">
-                  <xsl:for-each select="$config/motd/motd-option">
-                    <xsl:choose>
-                      <xsl:when test="@starts-with='true'">
-                        <xsl:if test="starts-with($path, @pattern)">
-                          <xsl:if test="normalize-space(motd-title) != ''">
-                            <xsl:text> (</xsl:text>
-                            <xsl:value-of select="motd-title"/>
-                            <xsl:text>)</xsl:text>
-                          </xsl:if>
-                        </xsl:if>
-                      </xsl:when>
-                      <xsl:otherwise>
-                        <xsl:if test="contains($path, @pattern)">
-                          <xsl:if test="normalize-space(motd-title) != ''">
-                            <xsl:text> (</xsl:text>
-                            <xsl:value-of select="motd-title"/>
-                            <xsl:text>)</xsl:text>
-                          </xsl:if>
-                        </xsl:if>
-                      </xsl:otherwise>
-                    </xsl:choose>
-                  </xsl:for-each>
-                </xsl:if>
-            </title>
+        <title><xsl:value-of select="div[@id='content']/h1"/>
+          <xsl:if test="$config/motd">
+            <xsl:for-each select="$config/motd/motd-option">
+              <xsl:choose>
+                <xsl:when test="@starts-with='true'">
+                  <xsl:if test="starts-with($path, @pattern)">
+                    <xsl:if test="normalize-space(motd-title) != ''">
+<xsl:text> (</xsl:text>
+                      <xsl:value-of select="motd-title"/>
+<xsl:text>)</xsl:text>
+                    </xsl:if>
+                  </xsl:if>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:if test="contains($path, @pattern)">
+                    <xsl:if test="normalize-space(motd-title) != ''">
+<xsl:text> (</xsl:text>
+                      <xsl:value-of select="motd-title"/>
+<xsl:text>)</xsl:text>
+                    </xsl:if>
+                  </xsl:if>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:for-each>
+          </xsl:if></title>
 <!--+
   |stylesheets
-  +-->
-            <link rel="stylesheet" href="{$root}skin/basic.css" type="text/css" 
-                />
-            <link rel="stylesheet" href="{$root}skin/screen.css" 
-                type="text/css" media="screen" />
-            <link rel="stylesheet" href="{$root}skin/print.css" type="text/css" 
-                media="print" />
-            <link rel="stylesheet" href="{$root}skin/profile.css" 
+  +--><link rel="stylesheet" href="{$root}skin/basic.css" type="text/css" 
+                /><link rel="stylesheet" href="{$root}skin/screen.css" 
+                type="text/css" media="screen" /><link rel="stylesheet" href="{$root}skin/print.css" type="text/css" 
+                media="print" /><link rel="stylesheet" href="{$root}skin/profile.css" 
                 type="text/css" />
 <!--+
   |Javascripts
   +-->
-            <script type="text/javascript" language="javascript" 
+<script type="text/javascript" language="javascript" 
                 src="{$root}skin/getBlank.js"></script>
-	        <script type="text/javascript" language="javascript" 
+<script type="text/javascript" language="javascript" 
 				src="{$root}skin/getMenu.js"></script>
-	        <script type="text/javascript" language="javascript" 
+<script type="text/javascript" language="javascript" 
 				src="{$root}skin/fontsize.js"></script>
 <!--+
   |favicon
   +-->
-            <xsl:if test="//skinconfig/favicon-url">
-                <link rel="shortcut icon">
-                    <xsl:attribute name="href">
-                        <xsl:value-of 
+        <xsl:if test="//skinconfig/favicon-url"><link rel="shortcut icon">
+          <xsl:attribute name="href">
+            <xsl:value-of 
                             select="concat($root,//skinconfig/favicon-url)"/>
-                    </xsl:attribute>
-                </link>
-            </xsl:if>
-        </head>
+          </xsl:attribute></link>
+        </xsl:if>
+      </head>
 <!--+
   |HTML-body
   +-->
       <body onload="init()">
-		<script type="text/javascript">ndeSetTextSize();</script>
+<script type="text/javascript">ndeSetTextSize();</script>
 <!--+Site structure
   +++++++++++++++++++++++++++
      +=========================+
@@ -139,201 +129,205 @@
 <!--+
   |topstrip with logos and search box 
   +-->
-    <div id="top">
+        <div id="top">
 <!--breadcrumbs org location-->
-<xsl:if test="not ($config/trail/@location)">
-<xsl:comment>+
+          <xsl:if test="not ($config/trail/@location)">
+            <xsl:comment>+
     |breadtrail
     +</xsl:comment>
-      <div class="breadtrail">
-          <xsl:call-template name="breadcrumbs"/>
-      </div>
-</xsl:if>
-<xsl:comment>+
+            <div class="breadtrail">
+              <xsl:call-template name="breadcrumbs"/>
+            </div>
+          </xsl:if>
+          <xsl:comment>+
     |header
     +</xsl:comment>
-    <div class="header">          
-<xsl:comment>+
+          <div class="header">
+            <xsl:comment>+
     |start group logo
-    +</xsl:comment> 
-        <xsl:if test="$config/group-url">
-          <div class="grouplogo">
-            <xsl:call-template name="renderlogo">
-              <xsl:with-param name="name" select="$config/group-name"/>
-              <xsl:with-param name="url" select="$config/group-url"/>
-              <xsl:with-param name="logo" select="$config/group-logo"/>
-              <xsl:with-param name="root" select="$root"/>
-              <xsl:with-param name="description" select="$config/group-description"/>
-            </xsl:call-template>
-          </div>
-        </xsl:if>
-<xsl:comment>+
+    +</xsl:comment>
+            <xsl:if test="$config/group-url">
+              <div class="grouplogo">
+                <xsl:call-template name="renderlogo">
+                  <xsl:with-param name="name" select="$config/group-name"/>
+                  <xsl:with-param name="url" select="$config/group-url"/>
+                  <xsl:with-param name="logo" select="$config/group-logo"/>
+                  <xsl:with-param name="root" select="$root"/>
+                  <xsl:with-param name="description" select="$config/group-description"/>
+                </xsl:call-template>
+              </div>
+            </xsl:if>
+            <xsl:comment>+
     |end group logo
     +</xsl:comment>
-<xsl:comment>+
+            <xsl:comment>+
     |start Project Logo
-    +</xsl:comment> 
-   <xsl:variable name="xtest">
-       <xsl:choose>
+    +</xsl:comment>
+            <xsl:variable name="xtest">
+              <xsl:choose>
                 <xsl:when 
                     test="$config/group-url and $config/search and not($config/search/@box-location = 'alt')">
-                     <xsl:text>true</xsl:text></xsl:when>
-                <xsl:otherwise><xsl:text>false</xsl:text></xsl:otherwise>
-             </xsl:choose>
-   </xsl:variable>
-     <div class="projectlogo">
-            <xsl:if test="$xtest='false'" >
-                    <xsl:attribute name="class">
-                        <xsl:text>projectlogoA1</xsl:text>
-                    </xsl:attribute>      
-            </xsl:if>
-          <xsl:call-template name="renderlogo">
-            <xsl:with-param name="name" select="$config/project-name"/>
-            <xsl:with-param name="url" select="$config/project-url"/>
-            <xsl:with-param name="logo" select="$config/project-logo"/>
-            <xsl:with-param name="root" select="$root"/>
-            <xsl:with-param name="description" select="$config/project-description"/>
-        </xsl:call-template>
-      </div>
-<xsl:comment>+
+<xsl:text>true</xsl:text>
+                </xsl:when>
+                <xsl:otherwise>
+<xsl:text>false</xsl:text>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:variable>
+            <div class="projectlogo">
+              <xsl:if test="$xtest='false'" >
+                <xsl:attribute name="class">
+<xsl:text>projectlogoA1</xsl:text>
+                </xsl:attribute>
+              </xsl:if>
+              <xsl:call-template name="renderlogo">
+                <xsl:with-param name="name" select="$config/project-name"/>
+                <xsl:with-param name="url" select="$config/project-url"/>
+                <xsl:with-param name="logo" select="$config/project-logo"/>
+                <xsl:with-param name="root" select="$root"/>
+                <xsl:with-param name="description" select="$config/project-description"/>
+              </xsl:call-template>
+            </div>
+            <xsl:comment>+
     |end Project Logo
-    +</xsl:comment> 
-
-        <xsl:if 
+    +</xsl:comment>
+            <xsl:if 
             test="$config/search and not($config/search/@box-location = 'alt')">
-<xsl:comment>+
+              <xsl:comment>+
     |start Search
-    +</xsl:comment> 
-            <div class="searchbox">
-             <xsl:variable name="search-prompt">
-               <i18n:text>Search the site with</i18n:text>
-               <xsl:text> </xsl:text>
-               <xsl:value-of select="$config/search/@provider"/>
-             </xsl:variable>
-             <xsl:choose>
-              <xsl:when test="$config/search/@provider = 'lucene'">
-                <!-- Lucene search -->
-                <form method="get" action="{$root}{$lucene-search}">
-                  <input type="text" id="query" name="queryString" size="25" onFocus="getBlank (this, '{$search-prompt}');">
-                    <xsl:attribute name="value"><xsl:value-of select="$search-prompt"/></xsl:attribute>
-                  </input>&#160;
+    +</xsl:comment>
+              <div class="searchbox">
+                <xsl:variable name="search-prompt">
+                  <i18n:text>Search the site with</i18n:text>
+<xsl:text> </xsl:text>
+                  <xsl:value-of select="$config/search/@provider"/>
+                </xsl:variable>
+                <xsl:choose>
+                  <xsl:when test="$config/search/@provider = 'lucene'">
+<!-- Lucene search -->
+                    <form method="get" action="{$root}{$lucene-search}">
+                      <input type="text" id="query" name="queryString" size="25" onFocus="getBlank (this, '{$search-prompt}');">
+                        <xsl:attribute name="value">
+                          <xsl:value-of select="$search-prompt"/>
+                        </xsl:attribute>
+                      </input>&#160;
 		  <input type="submit" value="Search" name="Search" i18n:attr="value"/>
-		 </form>
-	      </xsl:when>
-	      <xsl:otherwise>
-                <form class="roundtopsmall" method="get" action="http://www.google.com/search"> 
-                    <input type="hidden" name="sitesearch" value="{$config/search/@domain}"/> 
-                    <input type="text" id="query" name="q" size="25" onFocus="getBlank (this, '{$search-prompt}');">
-                      <xsl:attribute name="value"><xsl:value-of select="$search-prompt"/></xsl:attribute>
-                    </input>&#160; 
-                    <input type="submit" value="Search" name="Search" i18n:attr="value"/> </form>
-        </xsl:otherwise>
-</xsl:choose>
-            <!--div id="roundbottomsmall">
+                    </form>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <form class="roundtopsmall" method="get" action="http://www.google.com/search">
+                      <input type="hidden" name="sitesearch" value="{$config/search/@domain}"/>
+                      <input type="text" id="query" name="q" size="25" onFocus="getBlank (this, '{$search-prompt}');">
+                        <xsl:attribute name="value">
+                          <xsl:value-of select="$search-prompt"/>
+                        </xsl:attribute>
+                      </input>&#160; 
+                    <input type="submit" value="Search" name="Search" i18n:attr="value"/>
+                    </form>
+                  </xsl:otherwise>
+                </xsl:choose>
+<!--div id="roundbottomsmall">
             <img 
                 src="{$skin-img-dir}/rc-b-l-5-1body-2menu-3menu.png" 
                 alt="" width="5" height="5" class="cornersmall" 
                 style="display: none" />
         </div-->
-            </div>
-<xsl:comment>+
+              </div>
+              <xsl:comment>+
     |end search
-    +</xsl:comment> 
-        </xsl:if>
-<xsl:comment>+
+    +</xsl:comment>
+            </xsl:if>
+            <xsl:comment>+
     |start Tabs
     +</xsl:comment>
-        <xsl:apply-templates select="ul[@id='tabs']"/>
-<xsl:comment>+
+            <xsl:apply-templates select="ul[@id='tabs']"/>
+            <xsl:comment>+
     |end Tabs
     +</xsl:comment>
-       </div>
-    </div>
+          </div>
+        </div>
 <!--+
   |centerstrip with menu and mainarea
   +-->
-    <div id="main">       
-        <div id="publishedStrip">
-<xsl:comment>+
+        <div id="main">
+          <div id="publishedStrip">
+            <xsl:comment>+
     |start Subtabs
     +</xsl:comment>
             <div id="level2tabs">
-		<xsl:apply-templates select="span[@id='level2tabs']/node()"/>       
+              <xsl:apply-templates select="span[@id='level2tabs']/node()"/>
             </div>
-<xsl:comment>+
+            <xsl:comment>+
     |end Endtabs
     +</xsl:comment>
             <xsl:call-template name="last-published"/>
-        </div>
-
-<xsl:comment>+
+          </div>
+          <xsl:comment>+
     |breadtrail
     +</xsl:comment>
-        <div class="breadtrail">
-          <xsl:choose>
-           <xsl:when test="$config/trail/@location='alt'">
-            <!--breadtrail location='alt'-->
-                  <xsl:call-template name="breadcrumbs"/>
-           </xsl:when>
-           <xsl:otherwise>
-             <!--*NO* breadtrail-->
+          <div class="breadtrail">
+            <xsl:choose>
+              <xsl:when test="$config/trail/@location='alt'">
+<!--breadtrail location='alt'-->
+                <xsl:call-template name="breadcrumbs"/>
+              </xsl:when>
+              <xsl:otherwise>
+<!--*NO* breadtrail-->
              &#160;
            </xsl:otherwise>
-          </xsl:choose>
-         </div>
-<xsl:comment>+
+            </xsl:choose>
+          </div>
+          <xsl:comment>+
     |start Menu, mainarea
     +</xsl:comment>
-    <xsl:if test="div[@id='menu']/ul/li">
-      <xsl:call-template name="menu"/>
-    </xsl:if>
-<xsl:comment>+
+          <xsl:if test="div[@id='menu']/ul/li">
+            <xsl:call-template name="menu"/>
+          </xsl:if>
+          <xsl:comment>+
     |start content
     +</xsl:comment>
-    <xsl:apply-templates select="div[@id='content']"/>
-<xsl:comment>+
+          <xsl:apply-templates select="div[@id='content']"/>
+          <xsl:comment>+
     |end content
-    +</xsl:comment>    
-    <div class="clearboth">&#160;</div>
-
-  </div>
+    +</xsl:comment>
+          <div class="clearboth">&#160;</div>
+        </div>
 <!--+
   |bottomstrip with footer
   +-->
-    <div id="footer">
-<xsl:comment>+
+        <div id="footer">
+          <xsl:comment>+
     |start bottomstrip
     +</xsl:comment>
-  <div class="lastmodified"><xsl:call-template name="last-published"/> </div>
-
-    <xsl:if test="not($config/disable-copyright-footer = 'true')">
-      <div class="copyright">
+          <div class="lastmodified">
+            <xsl:call-template name="last-published"/>
+          </div>
+          <xsl:if test="not($config/disable-copyright-footer = 'true')">
+            <div class="copyright">
         Copyright &#169;
         <xsl:text> </xsl:text>
-        <xsl:value-of select="$config/year"/>
-        <xsl:text> </xsl:text>
-        <xsl:choose>
-          <xsl:when test="$config/copyright-link">
-            <a>
-              <xsl:attribute name="href">
-                <xsl:value-of select="$config/copyright-link"/>
-              </xsl:attribute>
-            <xsl:value-of select="$config/vendor"/>
-            </a>
-          </xsl:when>
-          <xsl:otherwise>
-            <xsl:value-of select="$config/vendor"/>
-          </xsl:otherwise>
-        </xsl:choose>
-      </div>
-    </xsl:if>
-
+              <xsl:value-of select="$config/year"/>
+<xsl:text> </xsl:text>
+              <xsl:choose>
+                <xsl:when test="$config/copyright-link"><a>
+                  <xsl:attribute name="href">
+                    <xsl:value-of select="$config/copyright-link"/>
+                  </xsl:attribute>
+                  <xsl:value-of select="$config/vendor"/></a>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="$config/vendor"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </div>
+          </xsl:if>
           <xsl:if test="$filename = 'index.html'">
             <div id="logos" >
-            <xsl:if test="$config/disable-compliance-links/@align">
-              <xsl:attribute name="style">text-align: <xsl:value-of select="$config/disable-compliance-links/@align"/></xsl:attribute>
-            </xsl:if>
-              <!-- W3C logos style="text-align: center;"-->
+              <xsl:if test="$config/disable-compliance-links/@align">
+                <xsl:attribute name="style">text-align: <xsl:value-of select="$config/disable-compliance-links/@align"/>
+                </xsl:attribute>
+              </xsl:if>
+<!-- W3C logos style="text-align: center;"-->
               <xsl:call-template name="compliancy-logos"/>
               <xsl:if test="$filename = 'index.html' and $config/credits">
                 <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
@@ -342,19 +336,19 @@
                     <xsl:variable name="url" select="url"/>
                     <xsl:variable name="image" select="image"/>
                     <xsl:variable name="width" select="width"/>
-                    <xsl:variable name="height" select="height"/>
-                    <a href="{$url}">
-                      <img alt="{$name} - logo" title="{$name}" border="0">
-                        <xsl:attribute name="src">
-                          <xsl:if test="not(starts-with($image, 'http://'))"><xsl:value-of select="$root"/></xsl:if>
-                          <xsl:value-of select="$image"/>
-                        </xsl:attribute>
-                        <xsl:attribute name="style">
-                          <xsl:if test="$width">width: <xsl:value-of select="$width"/>px;</xsl:if>
-                          <xsl:if test="$height">height: <xsl:value-of select="$height"/>px;</xsl:if>
-                        </xsl:attribute>
-                      </img>
-                    </a>
+                    <xsl:variable name="height" select="height"/><a href="{$url}">
+                    <img alt="{$name} - logo" title="{$name}" border="0">
+                      <xsl:attribute name="src">
+                        <xsl:if test="not(starts-with($image, 'http://'))">
+                          <xsl:value-of select="$root"/>
+                        </xsl:if>
+                        <xsl:value-of select="$image"/>
+                      </xsl:attribute>
+                      <xsl:attribute name="style">
+                        <xsl:if test="$width">width: <xsl:value-of select="$width"/>px;</xsl:if>
+                        <xsl:if test="$height">height: <xsl:value-of select="$height"/>px;</xsl:if>
+                      </xsl:attribute>
+                    </img></a>
                   </xsl:if>
                 </xsl:for-each>
               </xsl:if>
@@ -373,236 +367,240 @@
           <xsl:if test="$config/feedback">
             <xsl:call-template name="feedback"/>
           </xsl:if>
-<xsl:comment>+
+          <xsl:comment>+
     |end bottomstrip
     +</xsl:comment>
-    </div>
-
-
+        </div>
       </body>
     </html>
   </xsl:template>
   <xsl:template name="last-published">
-    <script type="text/javascript"><![CDATA[<!--
+<script type="text/javascript"><![CDATA[<!--
 document.write("]]><i18n:text >Last Published:</i18n:text><![CDATA[ " + document.lastModified);
 //  -->]]></script>
   </xsl:template>
 <!--headings-->
-<xsl:template match="div[@class = 'skinconf-heading-1']">
+  <xsl:template match="div[@class = 'skinconf-heading-1']">
     <xsl:choose>
       <xsl:when test="//skinconfig/headings/@type='underlined'">
-      	<h2 class="underlined_10"><xsl:value-of select="h1"/></h2>
+        <h2 class="underlined_10">
+          <xsl:value-of select="h1"/>
+        </h2>
       </xsl:when>
       <xsl:when test="//skinconfig/headings/@type='boxed'">
-	       <h2 class="boxed"><xsl:value-of select="h1"/></h2>
+        <h2 class="boxed">
+          <xsl:value-of select="h1"/>
+        </h2>
       </xsl:when>
       <xsl:otherwise>
-        <h2 class="h3"><xsl:value-of select="h1"/></h2>
+        <h2 class="h3">
+          <xsl:value-of select="h1"/>
+        </h2>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
-
   <xsl:template match="div[@class = 'skinconf-heading-2']">
     <xsl:choose>
       <xsl:when test="//skinconfig/headings/@type='underlined'">
-        <h3 class="underlined_5"><xsl:value-of select="h2"/></h3>
+        <h3 class="underlined_5">
+          <xsl:value-of select="h2"/>
+        </h3>
       </xsl:when>
       <xsl:when test="//skinconfig/headings/@type='boxed'">
-       	<h3 class="boxed"><xsl:value-of select="h2"/></h3>
+        <h3 class="boxed">
+          <xsl:value-of select="h2"/>
+        </h3>
       </xsl:when>
       <xsl:otherwise>
-        <h3 class="h4"><xsl:value-of select="h2"/></h3>
+        <h3 class="h4">
+          <xsl:value-of select="h2"/>
+        </h3>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
-  <!-- Add links to any standards-compliance logos -->
+<!-- Add links to any standards-compliance logos -->
   <xsl:template name="compliancy-logos">
-    <xsl:if test="$filename = 'index.html' and $config/disable-compliance-links = 'false'">
-      <a href="http://validator.w3.org/check/referer"><img class="logoImage" 
+    <xsl:if test="$filename = 'index.html' and $config/disable-compliance-links = 'false'"><a href="http://validator.w3.org/check/referer">
+      <img class="logoImage" 
           src="{$skin-img-dir}/valid-html401.png"
-          alt="Valid HTML 4.01!" title="Valid HTML 4.01!" style="height: 31px; width: 88px;" /></a>
-          
-      <a href="http://jigsaw.w3.org/css-validator/check/referer"><img class="logoImage" 
+          alt="Valid HTML 4.01!" title="Valid HTML 4.01!" style="height: 31px; width: 88px;" /></a><a href="http://jigsaw.w3.org/css-validator/check/referer">
+      <img class="logoImage" 
           src="{$skin-img-dir}/vcss.png" 
           alt="Valid CSS!" title="Valid CSS!" style="height: 31px; width: 88px;"/></a>
     </xsl:if>
   </xsl:template>
-
   <xsl:template name="menu">
-<xsl:comment>+
+    <xsl:comment>+
     |start Menu
     +</xsl:comment>
-   <div id="menu">
-<!--menu - inner-->	
-            <xsl:for-each select = "div[@id='menu']/ul/li">
-              <xsl:call-template name = "innermenuli" >
-                  <xsl:with-param name="id" select="concat('1.', position())"/>
-              </xsl:call-template>
-            </xsl:for-each>
-        <!--
+    <div id="menu">
+<!--menu - inner-->
+      <xsl:for-each select = "div[@id='menu']/ul/li">
+        <xsl:call-template name = "innermenuli" >
+          <xsl:with-param name="id" select="concat('1.', position())"/>
+        </xsl:call-template>
+      </xsl:for-each>
+<!--
 			<xsl:apply-templates select="div[@id='menu']/*" />
 		-->
-
 <!-- Search box: alternative location -->
-        <xsl:if 
+      <xsl:if 
             test="$config/search and $config/search/@box-location='alt'">
-<xsl:comment>+
+        <xsl:comment>+
     |start Search
-    +</xsl:comment> 
-            <div class="searchbox">
-             <hr />
-             <xsl:variable name="search-prompt">
-               <i18n:text>Search the site with</i18n:text>
-               <xsl:text> </xsl:text>
-               <xsl:value-of select="$config/search/@provider"/>
-             </xsl:variable>
-             <xsl:choose>
-              <xsl:when test="$config/search/@provider = 'lucene'">
-                <!-- Lucene search -->
-                <form method="get" action="{$root}{$lucene-search}">
-                  <input type="text" id="query" name="queryString" size="18" onFocus="getBlank (this, '{$search-prompt}');">
-                    <xsl:attribute name="value"><xsl:value-of select="$search-prompt"/></xsl:attribute>
-                  </input>&#160;
+    +</xsl:comment>
+        <div class="searchbox">
+          <hr />
+          <xsl:variable name="search-prompt">
+            <i18n:text>Search the site with</i18n:text>
+<xsl:text> </xsl:text>
+            <xsl:value-of select="$config/search/@provider"/>
+          </xsl:variable>
+          <xsl:choose>
+            <xsl:when test="$config/search/@provider = 'lucene'">
+<!-- Lucene search -->
+              <form method="get" action="{$root}{$lucene-search}">
+                <input type="text" id="query" name="queryString" size="18" onFocus="getBlank (this, '{$search-prompt}');">
+                  <xsl:attribute name="value">
+                    <xsl:value-of select="$search-prompt"/>
+                  </xsl:attribute>
+                </input>&#160;
 		  <input type="submit" value="Search" name="Search" i18n:attr="value"/>
-		 </form>
-	      </xsl:when>
-	      <xsl:otherwise>
-                <form method="get" action="http://www.google.com/search">
-                  <input type="hidden" name="sitesearch" value="{$config/search/@domain}"/> 
-                  <input type="text" id="query" name="q" size="18" onFocus="getBlank (this, '{$search-prompt}');">
-                    <xsl:attribute name="value"><xsl:value-of select="$search-prompt"/></xsl:attribute>
-                  </input>&#160; 
+              </form>
+            </xsl:when>
+            <xsl:otherwise>
+              <form method="get" action="http://www.google.com/search">
+                <input type="hidden" name="sitesearch" value="{$config/search/@domain}"/>
+                <input type="text" id="query" name="q" size="18" onFocus="getBlank (this, '{$search-prompt}');">
+                  <xsl:attribute name="value">
+                    <xsl:value-of select="$search-prompt"/>
+                  </xsl:attribute>
+                </input>&#160; 
                   <input type="submit" value="Search" name="Search" i18n:attr="value"/>
-                </form>
-        </xsl:otherwise>
-</xsl:choose>
-            </div>
-<xsl:comment>+
+              </form>
+            </xsl:otherwise>
+          </xsl:choose>
+        </div>
+        <xsl:comment>+
     |end search
-    +</xsl:comment> 
-        </xsl:if>
-
+    +</xsl:comment>
+      </xsl:if>
 <!--credits in alternative location-->
-	<div id="credit">
-	 <xsl:if test="$filename = 'index.html' and $config/credits and ($config/credits/credit/@box-location = 'alt')">
-           <hr />
-                <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
-                  <xsl:if test="@box-location = 'alt'">
-                  <xsl:variable name="name" select="name"/>
-                  <xsl:variable name="url" select="url"/>
-                  <xsl:variable name="image" select="image"/>
-                  <xsl:variable name="width" select="width"/>
-                  <xsl:variable name="height" select="height"/>
-                  <a href="{$url}">
-                    <img alt="{$name} - logo" title="{$name}" border="0">
-                      <xsl:attribute name="src">
-                        <xsl:if test="not(starts-with($image, 'http://'))"><xsl:value-of select="$root"/></xsl:if>
-                        <xsl:value-of select="$image"/>
+      <div id="credit">
+        <xsl:if test="$filename = 'index.html' and $config/credits and ($config/credits/credit/@box-location = 'alt')">
+          <hr />
+          <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
+            <xsl:if test="@box-location = 'alt'">
+              <xsl:variable name="name" select="name"/>
+              <xsl:variable name="url" select="url"/>
+              <xsl:variable name="image" select="image"/>
+              <xsl:variable name="width" select="width"/>
+              <xsl:variable name="height" select="height"/><a href="{$url}">
+              <img alt="{$name} - logo" title="{$name}" border="0">
+                <xsl:attribute name="src">
+                  <xsl:if test="not(starts-with($image, 'http://'))">
+                    <xsl:value-of select="$root"/>
+                  </xsl:if>
+                  <xsl:value-of select="$image"/>
+                </xsl:attribute>
+                <xsl:attribute name="style">
+                  <xsl:if test="$width">width: <xsl:value-of select="$width"/>px;</xsl:if>
+                  <xsl:if test="$height">height: <xsl:value-of select="$height"/>px;</xsl:if>
+                </xsl:attribute>
+              </img></a>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:if>
+<!-- Message of the day -->
+        <xsl:if test="$config/motd">
+          <xsl:for-each select="$config/motd/motd-option">
+            <xsl:choose>
+              <xsl:when test="@starts-with='true'">
+                <xsl:if test="starts-with($path, @pattern)">
+                  <xsl:if test="motd-page/@location='alt' or motd-page/@location='both'">
+                    <hr />
+                    <xsl:value-of select="motd-page"/>
+                    <xsl:if test="motd-page-url">
+<xsl:text> (</xsl:text><a>
+                      <xsl:attribute name="href">
+                        <xsl:value-of select="motd-page-url"/>
                       </xsl:attribute>
-                      <xsl:attribute name="style">
-                        <xsl:if test="$width">width: <xsl:value-of select="$width"/>px;</xsl:if>
-                        <xsl:if test="$height">height: <xsl:value-of select="$height"/>px;</xsl:if>
+<xsl:text>More</xsl:text></a>
+<xsl:text>)</xsl:text>
+                    </xsl:if>
+                  </xsl:if>
+                </xsl:if>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:if test="contains($path, @pattern)">
+                  <xsl:if test="motd-page/@location='alt' or motd-page/@location='both'">
+                    <hr />
+                    <xsl:value-of select="motd-page"/>
+                    <xsl:if test="motd-page-url">
+<xsl:text> (</xsl:text><a>
+                      <xsl:attribute name="href">
+                        <xsl:value-of select="motd-page-url"/>
                       </xsl:attribute>
-                    </img>
-                  </a>
+<xsl:text>More</xsl:text></a>
+<xsl:text>)</xsl:text>
+                    </xsl:if>
                   </xsl:if>
-                </xsl:for-each>
-              </xsl:if>
-
-<!-- Message of the day -->
-              <xsl:if test="$config/motd">
-                <xsl:for-each select="$config/motd/motd-option">
-                  <xsl:choose>
-                    <xsl:when test="@starts-with='true'">
-                      <xsl:if test="starts-with($path, @pattern)">
-                        <xsl:if test="motd-page/@location='alt' or motd-page/@location='both'">
-                          <hr />
-                          <xsl:value-of select="motd-page"/>
-                          <xsl:if test="motd-page-url">
-                            <xsl:text> (</xsl:text>
-                            <a>
-                              <xsl:attribute name="href">
-                                <xsl:value-of select="motd-page-url"/>
-                              </xsl:attribute>
-                              <xsl:text>More</xsl:text>
-                            </a>
-                            <xsl:text>)</xsl:text>
-                          </xsl:if>
-                        </xsl:if>
-                      </xsl:if>
-                    </xsl:when>
-                    <xsl:otherwise>
-                      <xsl:if test="contains($path, @pattern)">
-                        <xsl:if test="motd-page/@location='alt' or motd-page/@location='both'">
-                          <hr />
-                          <xsl:value-of select="motd-page"/>
-                          <xsl:if test="motd-page-url">
-                            <xsl:text> (</xsl:text>
-                            <a>
-                              <xsl:attribute name="href">
-                                <xsl:value-of select="motd-page-url"/>
-                              </xsl:attribute>
-                              <xsl:text>More</xsl:text>
-                            </a>
-                            <xsl:text>)</xsl:text>
-                          </xsl:if>
-                        </xsl:if>
-                      </xsl:if>
-                    </xsl:otherwise>
-                  </xsl:choose>
-                </xsl:for-each>
-              </xsl:if>
-		</div>
-
-        <div id="roundbottom">
-            <img 
+                </xsl:if>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:for-each>
+        </xsl:if>
+      </div>
+      <div id="roundbottom">
+        <img 
                 src="{$skin-img-dir}/rc-b-l-15-1body-2menu-3menu.png" 
                 alt="" width="15" height="15" class="corner" 
                 style="display: none" />
-        </div>
-
+      </div>
 <!--credits in alternative location #2-->
-        <xsl:comment>+
+      <xsl:comment>+
   |alternative credits
   +</xsl:comment>
-
-	<div id="credit2">
-	  <xsl:if test="$config/credits and ($config/credits/credit/@box-location = 'alt2')">
-            <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
-              <xsl:if test="@box-location = 'alt2'">
-                <xsl:variable name="name" select="name"/>
-                <xsl:variable name="url" select="url"/>
-                <xsl:variable name="image" select="image"/>
-                <xsl:variable name="width" select="width"/>
-                <xsl:variable name="height" select="height"/>
-                <a href="{$url}">
-                  <img alt="{$name} - logo" title="{$name}" border="0">
-                    <xsl:attribute name="src">
-                      <xsl:if test="not(starts-with($image, 'http://'))"><xsl:value-of select="$root"/></xsl:if>
-                      <xsl:value-of select="$image"/>
-                    </xsl:attribute>
-                    <xsl:attribute name="style">
-                      <xsl:if test="$width">width: <xsl:value-of select="$width"/>px;</xsl:if>
-                      <xsl:if test="$height">height: <xsl:value-of select="$height"/>px;</xsl:if>
-                    </xsl:attribute>
-                  </img>
-                </a>
-              </xsl:if>
-            </xsl:for-each>
-          </xsl:if>
-        </div>
+      <div id="credit2">
+        <xsl:if test="$config/credits and ($config/credits/credit/@box-location = 'alt2')">
+          <xsl:for-each select="$config/credits/credit[not(@role='pdf')]">
+            <xsl:if test="@box-location = 'alt2'">
+              <xsl:variable name="name" select="name"/>
+              <xsl:variable name="url" select="url"/>
+              <xsl:variable name="image" select="image"/>
+              <xsl:variable name="width" select="width"/>
+              <xsl:variable name="height" select="height"/><a href="{$url}">
+              <img alt="{$name} - logo" title="{$name}" border="0">
+                <xsl:attribute name="src">
+                  <xsl:if test="not(starts-with($image, 'http://'))">
+                    <xsl:value-of select="$root"/>
+                  </xsl:if>
+                  <xsl:value-of select="$image"/>
+                </xsl:attribute>
+                <xsl:attribute name="style">
+                  <xsl:if test="$width">width: <xsl:value-of select="$width"/>px;</xsl:if>
+                  <xsl:if test="$height">height: <xsl:value-of select="$height"/>px;</xsl:if>
+                </xsl:attribute>
+              </img></a>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:if>
       </div>
-<xsl:comment>+
+    </div>
+    <xsl:comment>+
     |end Menu
     +</xsl:comment>
   </xsl:template>
-  
-  <xsl:template name="innermenuli">   
+  <xsl:template name="innermenuli">
     <xsl:param name="id"/>
     <xsl:variable name="tagid">
       <xsl:choose>
-        <xsl:when test="descendant-or-self::node()/li/div/@class='current'"><xsl:value-of select="concat('menu_selected_',$id)"/></xsl:when>
-        <xsl:otherwise><xsl:value-of select="concat('menu_',concat(font,$id))"/></xsl:otherwise>
+        <xsl:when test="descendant-or-self::node()/li/div/@class='current'">
+          <xsl:value-of select="concat('menu_selected_',$id)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="concat('menu_',concat(font,$id))"/>
+        </xsl:otherwise>
       </xsl:choose>
     </xsl:variable>
     <xsl:variable name="whichGroup">
@@ -611,114 +609,114 @@
         <xsl:otherwise>menuitemgroup</xsl:otherwise>
       </xsl:choose>
     </xsl:variable>
-    
     <div class="menutitle" id="{$tagid}Title" 
         onclick="SwitchMenu('{$tagid}', '{$root}skin/')">
-        <xsl:if test="contains($tagid, '_selected_')" >
-            <xsl:attribute name="style">
-                <xsl:text>background-image: url('</xsl:text>
-                <xsl:value-of select="$root"/>
-                <xsl:text>skin/images/chapter_open.gif');</xsl:text>
-            </xsl:attribute>
-        </xsl:if>
-        <xsl:value-of select="h1"/>
+      <xsl:if test="contains($tagid, '_selected_')" >
+        <xsl:attribute name="style">
+<xsl:text>background-image: url('</xsl:text>
+          <xsl:value-of select="$root"/>
+<xsl:text>skin/images/chapter_open.gif');</xsl:text>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:value-of select="h1"/>
     </div>
-      <div class="{$whichGroup}" id="{$tagid}">
-        <xsl:if test="contains($tagid, '_selected_')" >
-          <xsl:attribute name="style">
-            <xsl:text>display: block;</xsl:text>
-          </xsl:attribute>
-        </xsl:if>
-        <xsl:for-each select= "ul/li">
-
-          <xsl:choose>
-            <xsl:when test="a">
-              <div class="menuitem">
-                <a>
-                  <xsl:attribute name="href">
-                    <xsl:value-of select="a/@href"/>
-                  </xsl:attribute>
-                  <xsl:if test="a/@title!=''">
-                    <xsl:attribute name="title">
-                      <xsl:value-of select="a/@title"/>
-                    </xsl:attribute>
-                  </xsl:if>
-                  <xsl:value-of select="a"/>
-                </a>
+    <div class="{$whichGroup}" id="{$tagid}">
+      <xsl:if test="contains($tagid, '_selected_')" >
+        <xsl:attribute name="style">
+<xsl:text>display: block;</xsl:text>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:for-each select= "ul/li">
+        <xsl:choose>
+          <xsl:when test="a">
+            <div class="menuitem"><a>
+              <xsl:attribute name="href">
+                <xsl:value-of select="a/@href"/>
+              </xsl:attribute>
+              <xsl:if test="a/@title!=''">
+                <xsl:attribute name="title">
+                  <xsl:value-of select="a/@title"/>
+                </xsl:attribute>
+              </xsl:if>
+              <xsl:value-of select="a"/></a>
+            </div>
+          </xsl:when>
+          <xsl:when test="div/@class='current'">
+            <div class="menupage">
+              <div class="menupagetitle">
+                <xsl:value-of select="div" />
               </div>
-            </xsl:when>
-            <xsl:when test="div/@class='current'">
-              <div class="menupage">
-                <div class="menupagetitle"><xsl:value-of select="div" /></div>
-                <xsl:if test="$config/toc/@max-depth > 0
+              <xsl:if test="$config/toc/@max-depth > 0
                     and contains($minitoc-location,'menu')
                     and count(//tocitems/tocitem) >= $config/toc/@min-sections">
-                  <div class="menupageitemgroup">
-                      <xsl:for-each select = "//tocitems/tocitem">
-                        <div class="menupageitem">
-                          <xsl:choose>
-                            <xsl:when test="string-length(@title)>15">
-                              <a href="{@href}" title="{@title}"><xsl:value-of select="substring(@title,0,20)" />...</a>
-                            </xsl:when>
-                            <xsl:otherwise>
-                              <a href="{@href}"><xsl:value-of select="@title" /></a>
-                            </xsl:otherwise>
-                          </xsl:choose>
-                        </div>
-                      </xsl:for-each>
-                  </div>
-                </xsl:if>
-              </div>
-            </xsl:when>
-            <xsl:otherwise>
-              <xsl:call-template name = "innermenuli">
-                 <xsl:with-param name="id" select="concat($id, '.', position())"/>
-              </xsl:call-template>
-            </xsl:otherwise>
-          </xsl:choose>
-
-        </xsl:for-each>
-      </div>
+                <div class="menupageitemgroup">
+                  <xsl:for-each select = "//tocitems/tocitem">
+                    <div class="menupageitem">
+                      <xsl:choose>
+                        <xsl:when test="string-length(@title)>15"><a href="{@href}" title="{@title}">
+                          <xsl:value-of select="substring(@title,0,20)" />...</a>
+                        </xsl:when>
+                        <xsl:otherwise><a href="{@href}">
+                          <xsl:value-of select="@title" /></a>
+                        </xsl:otherwise>
+                      </xsl:choose>
+                    </div>
+                  </xsl:for-each>
+                </div>
+              </xsl:if>
+            </div>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name = "innermenuli">
+              <xsl:with-param name="id" select="concat($id, '.', position())"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:for-each>
+    </div>
   </xsl:template>
-
 <!--+
     |Generates the PDF link 
     +-->
   <xsl:template match="div[@id='skinconf-pdflink']">
-    <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'"> 
+    <xsl:if test="not($config/disable-pdf-link) or $disable-pdf-link = 'false'">
       <div class="pdflink" title="Portable Document Format"><a href="{$filename-noext}.pdf" class="dida">
-        <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF -icon" /><br/>
+        <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF -icon" />
+        <br/>
         PDF</a>
       </div>
     </xsl:if>
   </xsl:template>
   <xsl:template match="div[@id='skinconf-xmllink']">
-    <xsl:if test="not($config/disable-xml-link) or $disable-xml-link = 'false'"> 
+    <xsl:if test="not($config/disable-xml-link) or $disable-xml-link = 'false'">
       <div class="xmllink" title="raw XML"><a href="{$filename-noext}.xml" class="dida">
-        <img class="skin" src="{$skin-img-dir}/xmldoc.gif" alt="XML - icon" /><br/>
+        <img class="skin" src="{$skin-img-dir}/xmldoc.gif" alt="XML - icon" />
+        <br/>
         XML</a>
       </div>
     </xsl:if>
   </xsl:template>
   <xsl:template match="div[@id='skinconf-txtlink']">
-    <xsl:if test="not($config/disable-txt-link) or $disable-txt-link = 'false'"> 
+    <xsl:if test="not($config/disable-txt-link) or $disable-txt-link = 'false'">
       <div class="podlink" title="Plain Text Documentation"><a href="{$filename-noext}.txt" class="dida">
-        <img class="skin" src="{$skin-img-dir}/txtdoc.png" alt="TXT - icon" /><br/>
+        <img class="skin" src="{$skin-img-dir}/txtdoc.png" alt="TXT - icon" />
+        <br/>
         TXT</a>
       </div>
     </xsl:if>
   </xsl:template>
   <xsl:template match="div[@id='skinconf-podlink']">
-    <xsl:if test="not($config/disable-pod-link) or $disable-pod-link = 'false'"> 
+    <xsl:if test="not($config/disable-pod-link) or $disable-pod-link = 'false'">
       <div class="podlink" title="Plain Old Documentation"><a href="{$filename-noext}.pod" class="dida">
-        <img class="skin" src="{$skin-img-dir}/poddoc.png" alt="POD - icon" /><br/>
+        <img class="skin" src="{$skin-img-dir}/poddoc.png" alt="POD - icon" />
+        <br/>
         POD</a>
       </div>
     </xsl:if>
   </xsl:template>
   <xsl:template match="div[@id='skinconf-printlink']">
-    <xsl:if test="not($config/disable-print-link) or $disable-print-link = 'false'"> 
-        <script type="text/javascript" language="Javascript">
+    <xsl:if test="not($config/disable-print-link) or $disable-print-link = 'false'">
+<script type="text/javascript" language="Javascript">
 function printit() {
   if (window.print) {
     window.focus();
@@ -726,8 +724,7 @@
   }
 }
         </script>
-
-        <script type="text/javascript" language="Javascript">
+<script type="text/javascript" language="Javascript">
 var NS = (navigator.appName == "Netscape");
 var VERSION = parseInt(navigator.appVersion);
 if (VERSION > 3) {
@@ -741,18 +738,16 @@
         </script>
     </xsl:if>
   </xsl:template>
-  
   <xsl:template match="div[@id='disable-font-script']">
     <xsl:if test="$disable-font-script = 'false'">
-	  <div class="trail">
-	         <i18n:text >Font size:</i18n:text> 
+      <div class="trail">
+        <i18n:text >Font size:</i18n:text> 
 	          &#160;<input type="button" onclick="ndeSetTextSize('reset'); return false;" title="Reset text" class="resetfont" value="Reset"/>      
 	          &#160;<input type="button" onclick="ndeSetTextSize('decr'); return false;" title="Shrink text" class="smallerfont" value="-a"/>
 	          &#160;<input type="button" onclick="ndeSetTextSize('incr'); return false;" title="Enlarge text" class="biggerfont" value="+a"/>
       </div>
     </xsl:if>
   </xsl:template>
-
   <xsl:template match="div[@id='skinconf-toc-page']">
     <xsl:if test="$config/motd">
       <xsl:for-each select="$config/motd/motd-option">
@@ -763,14 +758,12 @@
                 <div id="motd-area">
                   <xsl:value-of select="motd-page"/>
                   <xsl:if test="motd-page-url">
-                    <xsl:text> (</xsl:text>
-                    <a>
-                      <xsl:attribute name="href">
-                        <xsl:value-of select="motd-page-url"/>
-                      </xsl:attribute>
-                      <xsl:text>More</xsl:text>
-                    </a>
-                    <xsl:text>)</xsl:text>
+<xsl:text> (</xsl:text><a>
+                    <xsl:attribute name="href">
+                      <xsl:value-of select="motd-page-url"/>
+                    </xsl:attribute>
+<xsl:text>More</xsl:text></a>
+<xsl:text>)</xsl:text>
                   </xsl:if>
                 </div>
               </xsl:if>
@@ -782,14 +775,12 @@
                 <div id="motd-area">
                   <xsl:value-of select="motd-page"/>
                   <xsl:if test="motd-page-url">
-                    <xsl:text> (</xsl:text>
-                    <a>
-                      <xsl:attribute name="href">
-                        <xsl:value-of select="motd-page-url"/>
-                      </xsl:attribute>
-                      <xsl:text>More</xsl:text>
-                    </a>
-                    <xsl:text>)</xsl:text>
+<xsl:text> (</xsl:text><a>
+                    <xsl:attribute name="href">
+                      <xsl:value-of select="motd-page-url"/>
+                    </xsl:attribute>
+<xsl:text>More</xsl:text></a>
+<xsl:text>)</xsl:text>
                   </xsl:if>
                 </div>
               </xsl:if>
@@ -798,16 +789,15 @@
         </xsl:choose>
       </xsl:for-each>
     </xsl:if>
-
     <xsl:if test="$config/toc">
       <xsl:if test="contains($minitoc-location,'page')">
         <xsl:if test="count(//tocitems/tocitem) >= $config/toc/@min-sections">
-			<div id="minitoc-area">
-    			<xsl:call-template name="minitoc">
-        		    <xsl:with-param name="tocroot" select="//tocitems"/>
-	          	</xsl:call-template>
-			</div>
-	    </xsl:if>
+          <div id="minitoc-area">
+            <xsl:call-template name="minitoc">
+              <xsl:with-param name="tocroot" select="//tocitems"/>
+            </xsl:call-template>
+          </div>
+        </xsl:if>
       </xsl:if>
     </xsl:if>
   </xsl:template>

Modified: forrest/trunk/main/webapp/skins/scales/xslt/html/tab-to-menu.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/scales/xslt/html/tab-to-menu.xsl?view=diff&rev=526993&r1=526992&r2=526993
==============================================================================
--- forrest/trunk/main/webapp/skins/scales/xslt/html/tab-to-menu.xsl (original)
+++ forrest/trunk/main/webapp/skins/scales/xslt/html/tab-to-menu.xsl Mon Apr  9 18:49:44 2007
@@ -15,7 +15,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <!--
 This stylesheet generates 'tabs' at the top left of the screen.  Tabs are
 visual indicators that a certain subsection of the URI space is being browsed.
@@ -38,44 +37,31 @@
 which is then merged by site-to-xhtml.xsl
 
 -->
-
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
   <xsl:import href="../../../common/xslt/html/tab-to-menu.xsl"/>
-
   <xsl:template match="tabs">
-  	<ul id="tabs">
-  		<xsl:call-template name="base-tabs"/>
-  	</ul>
+    <ul id="tabs">
+      <xsl:call-template name="base-tabs"/>
+    </ul>
     <xsl:if test="tab[@dir=$longest-dir]/tab">
       <span id="level2tabs">
         <xsl:call-template name="level2tabs"/>
       </span>
     </xsl:if>
   </xsl:template>
-
-  <xsl:template name="pre-separator">
-  </xsl:template>
-
-  <xsl:template name="post-separator">
-  </xsl:template>
-
-  <xsl:template name="separator">
-  </xsl:template>
-
+  <xsl:template name="pre-separator"></xsl:template>
+  <xsl:template name="post-separator"></xsl:template>
+  <xsl:template name="separator"></xsl:template>
   <xsl:template name="selected">
-	<li class="current"><xsl:call-template name="base-selected"/></li>
+    <li class="current"><xsl:call-template name="base-selected"/></li>
   </xsl:template>
-
   <xsl:template name="not-selected">
-	<li><xsl:call-template name="base-not-selected"/></li>
+    <li><xsl:call-template name="base-not-selected"/></li>
   </xsl:template>
-  
   <xsl:template name="level2-not-selected">
     <xsl:call-template name="base-not-selected"/>
   </xsl:template>
-
   <xsl:template name="level2-selected">
-     <xsl:call-template name="base-selected"/>
+    <xsl:call-template name="base-selected"/>
   </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt?view=diff&rev=526993&r1=526992&r2=526993
==============================================================================
--- forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt (original)
+++ forrest/trunk/main/webapp/skins/tigris/css/forrest.css.xslt Mon Apr  9 18:49:44 2007
@@ -16,15 +16,12 @@
   limitations under the License.
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
   <xsl:import href="../../common/css/forrest.css.xslt"/>
-
-  <!-- This is not used by Forrest but makes it possible to debug the
+<!-- This is not used by Forrest but makes it possible to debug the
        stylesheet in standalone editors -->
   <xsl:output method = "text"  omit-xml-declaration="yes"  />
-
-<xsl:template match="skinconfig">
-  <xsl:apply-imports/>
+  <xsl:template match="skinconfig">
+    <xsl:apply-imports/>
 <!-- rounded corners -->
 #toptabs td{
 	background-image: url('images/rc-t-l-10-1header-2tab-unselected-3tab-unselected.png');
@@ -55,9 +52,8 @@
 }
 
 </xsl:template>
-
-<xsl:template match="group-logo">
-  <xsl:if test="@width and @height">
+  <xsl:template match="group-logo">
+    <xsl:if test="@width and @height">
 #cn {
 	background-image: url('../<xsl:value-of select="."/>');
 	display: block;
@@ -65,10 +61,9 @@
 	width: <xsl:value-of select="@width"/>px;
 }
   </xsl:if>
-</xsl:template>
-
-<xsl:template match="host-logo">
-  <xsl:if test="@width and @height">
+  </xsl:template>
+  <xsl:template match="host-logo">
+    <xsl:if test="@width and @height">
 #poweredby {
 	background-image: url('../<xsl:value-of select="."/>');
 	display: block;
@@ -76,10 +71,9 @@
 	width: <xsl:value-of select="@width"/>px;
 }
   </xsl:if>
-</xsl:template>
-
-<xsl:template match="project-logo">
-  <xsl:if test="@width and @height">
+  </xsl:template>
+  <xsl:template match="project-logo">
+    <xsl:if test="@width and @height">
 #sc {
 	background-image: url('../<xsl:value-of select="."/>');
 	display: block;
@@ -87,17 +81,14 @@
 	width: <xsl:value-of select="@width"/>px;
 }
   </xsl:if>
-</xsl:template>
-
-
-<xsl:template match="color[@name='header']">
+  </xsl:template>
+  <xsl:template match="color[@name='header']">
 #banner, #banner td, #toptabs { background-color: <xsl:value-of select="@value"/>;}
 #toptabs td { border-left: 1px solid <xsl:value-of select="@value"/>;}
 #toptabs th { border-left: 1px solid <xsl:value-of select="@value"/>;}
 #banner { border-top: 1px solid <xsl:value-of select="@highlight"/>;}
 </xsl:template>
-
-<xsl:template match="color[@name='tab-selected']">
+  <xsl:template match="color[@name='tab-selected']">
 .tabs th  {
     background-color: <xsl:value-of select="@value"/>;
     border-right: 1px solid <xsl:value-of select="@lowlight"/>;
@@ -116,7 +107,7 @@
 	border-bottom: 1px solid <xsl:value-of select="@lowlight"/>;
 }
 .tabs {	border-bottom: 6px <xsl:value-of select="@value"/> solid; }</xsl:template>
-<xsl:template match="color[@name='tab-unselected']">
+  <xsl:template match="color[@name='tab-unselected']">
 .tabs td {
    background-color: <xsl:value-of select="@value"/>;
    color: <xsl:value-of select="@font"/>;}
@@ -127,13 +118,13 @@
 .tabs td a:hover {
 	color: <xsl:value-of select="@hlink"/> !important;}
     </xsl:template>
-<xsl:template match="color[@name='subtab-selected']">
+  <xsl:template match="color[@name='subtab-selected']">
 #breadcrumbs a:link{
 	color: <xsl:value-of select="@link"/>;}
 #breadcrumbs a:visited {
 	color: <xsl:value-of select="@vlink"/>;}
 </xsl:template>
-<xsl:template match="color[@name='subtab-unselected']">
+  <xsl:template match="color[@name='subtab-unselected']">
 #breadcrumbs { color: <xsl:value-of select="@font"/>;}
 #breadcrumbs {background-color: <xsl:value-of select="@value"/>;
               border-top: 1px solid <xsl:value-of select="@highlight"/>;}
@@ -145,60 +136,53 @@
 #breadcrumbs a:hover {
 	color: <xsl:value-of select="@hlink"/> !important;}
 </xsl:template>
-
-<xsl:template match="color[@name='heading']">
-
-<xsl:choose>
-    <xsl:when test="../../headings/@type='underlined'">
+  <xsl:template match="color[@name='heading']">
+    <xsl:choose>
+      <xsl:when test="../../headings/@type='underlined'">
 .app h3 {
     background-color: transparent;
     color: <xsl:value-of select="../color[@name='body']/@font"/>;
 	border-bottom: 2px solid <xsl:value-of select="@value"/>;
 }
     </xsl:when>
-    <xsl:when test="../../headings/@type='boxed'">
+      <xsl:when test="../../headings/@type='boxed'">
 .app h3 {
     background-color: <xsl:value-of select="@value"/>;
 	background-image: url('images/rc-t-l-10-1body-2heading-3heading.png');
 }
     </xsl:when>
-    <xsl:otherwise>
+      <xsl:otherwise>
 .app h3 {
     color: <xsl:value-of select="../color[@name='body']/@font"/>;
 	background-color: transparent;
 }
     </xsl:otherwise>
-</xsl:choose>
-
-
-</xsl:template>
-<xsl:template match="color[@name='subheading']">
-
-<xsl:choose>
-    <xsl:when test="../../headings/@type='underlined'">
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="color[@name='subheading']">
+    <xsl:choose>
+      <xsl:when test="../../headings/@type='underlined'">
 .app h4 {
     background-color: transparent;
     color: <xsl:value-of select="../color[@name='body']/@font"/>;
 	border-bottom: 1px solid <xsl:value-of select="@value"/>;
 }
     </xsl:when>
-    <xsl:when test="../../headings/@type='boxed'">
+      <xsl:when test="../../headings/@type='boxed'">
 .app h4 {
     background-color: <xsl:value-of select="@value"/>;
 	background-image: url('images/rc-t-l-10-1body-2subheading-3subheading.png');
 }
     </xsl:when>
-    <xsl:otherwise>
+      <xsl:otherwise>
 .app h4 {
     color: <xsl:value-of select="../color[@name='body']/@font"/>;
 	background-color: transparent;
 }
     </xsl:otherwise>
-</xsl:choose>
-
-</xsl:template>
-
-<xsl:template match="color[@name='navstrip']">
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="color[@name='navstrip']">
 #topmodule    { background-color: <xsl:value-of select="@value"/>;
                 border-top: 1px solid <xsl:value-of select="@highlight"/>;
 	            border-bottom: 1px solid <xsl:value-of select="@lowlight"/>;
@@ -213,13 +197,13 @@
 #topmodule a:hover {
 	color: <xsl:value-of select="@hlink"/> !important; }
 </xsl:template>
-<xsl:template match="color[@name='toolbox']">
+  <xsl:template match="color[@name='toolbox']">
 .toolgroup .label {	background: <xsl:value-of select="@value"/>;
                     border-bottom: 1px solid <xsl:value-of select="@lowlight"/>;
 	                border-right: 1px solid <xsl:value-of select="@lowlight"/>;
 	                color: <xsl:value-of select="@font"/>;
 } </xsl:template>
-<xsl:template match="color[@name='menu']">
+  <xsl:template match="color[@name='menu']">
 #mytools .body, #projecttools .body, #admintools .body, #communitytools .body {
 	background-color: <xsl:value-of select="@value"/>;
 	border-right: 1px solid  <xsl:value-of select="@highlight"/>;
@@ -234,14 +218,14 @@
 #mytools .body a:hover, #projecttools .body a:hover, #admintools .body a:hover, #communitytools .body a:hover{
 	color: <xsl:value-of select="@vlink"/> !important;}
 </xsl:template>
-<xsl:template match="color[@name='dialog']">
+  <xsl:template match="color[@name='dialog']">
 .toolgroup { background: <xsl:value-of select="@value"/>;}
 .toolgroup .body {
 	border-right: 1px solid <xsl:value-of select="@lowlight"/>;;
 	border-bottom: 1px solid <xsl:value-of select="@lowlight"/>;;
 }
 </xsl:template>
-<xsl:template match="color[@name='body']">
+  <xsl:template match="color[@name='body']">
 body         { background-color: <xsl:value-of select="@value"/>;}
 a:link, #navcolumn a:visited, .app a:visited, .tasknav a:visited {
 	color: <xsl:value-of select="@link"/>;
@@ -254,31 +238,27 @@
 	color: <xsl:value-of select="@hlink"/> !important;
 }
 </xsl:template>
-
-<xsl:template match="color[@name='footer']">
+  <xsl:template match="color[@name='footer']">
 #footer      { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
-
-
 <!-- ==================== other colors ============================ -->
-<xsl:template match="color[@name='highlight']">
+  <xsl:template match="color[@name='highlight']">
 .highlight        { background-color: <xsl:value-of select="@value"/>;} </xsl:template>
-<xsl:template match="color[@name='fixme']">
+  <xsl:template match="color[@name='fixme']">
 .warningmessage {border-color: <xsl:value-of select="@value"/>;} </xsl:template>
-<xsl:template match="color[@name='note']">
+  <xsl:template match="color[@name='note']">
 .infomessage {  border-color: <xsl:value-of select="@value"/>;} </xsl:template>
-<xsl:template match="color[@name='warning']">
+  <xsl:template match="color[@name='warning']">
 .errormessage{  border-color: <xsl:value-of select="@value"/>;} </xsl:template>
-<xsl:template match="color[@name='code']">
+  <xsl:template match="color[@name='code']">
 .code, code, pre        { border-color: <xsl:value-of select="@value"/>;} </xsl:template>
-<xsl:template match="color[@name='table']">
+  <xsl:template match="color[@name='table']">
 body .grid td {
 	border-top: 1px solid <xsl:value-of select="@value"/>;
 	border-left: 1px solid <xsl:value-of select="@value"/>;}
 .app th {
 	background-color: <xsl:value-of select="@value"/>;}</xsl:template>
-<xsl:template match="color[@name='table-cell']">
+  <xsl:template match="color[@name='table-cell']">
 body .grid td {
 	background-color: <xsl:value-of select="@value"/>;
 } </xsl:template>
-
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>

Modified: forrest/trunk/main/webapp/skins/tigris/skinconf.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/tigris/skinconf.xsl?view=diff&rev=526993&r1=526992&r2=526993
==============================================================================
--- forrest/trunk/main/webapp/skins/tigris/skinconf.xsl (original)
+++ forrest/trunk/main/webapp/skins/tigris/skinconf.xsl Mon Apr  9 18:49:44 2007
@@ -16,122 +16,107 @@
   limitations under the License.
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-        
-    <xsl:template match="skinconfig">
-
-  <xsl:if test="not(colors)">
-  <colors>
-  <!-- Collabnet --> 
-    <color name="header"    value="#ffffff"/><!-- 003366 -->
-
-    <color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555" hlink="#555555"/>
-    <color name="tab-unselected" value="#999999" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
-    <color name="subtab-selected" value="#cccccc" link="#000000" vlink="#000000" hlink="#000000"/>
-    <color name="subtab-unselected" value="#cccccc" link="#555555" vlink="#555555" hlink="#555555"/>
-
-    <color name="heading" value="#003366"/>
-    <color name="subheading" value="#888888"/>
-    
-    <color name="navstrip" value="#dddddd" font="#555555"/>
-    <color name="toolbox" value="#dddddd" font="#555555"/>
-    <color name="border" value="#999999"/>
-    
-    <color name="menu" value="#ffffff"/>    
-    <color name="dialog" value="#eeeeee"/>
-            
-    <color name="body"      value="#ffffff"/>
-    
-    <color name="table" value="#ccc"/>    
-    <color name="table-cell" value="#ffffff"/>   
-    <color name="highlight" value="#ffff00"/>
-    <color name="fixme" value="#cc6600"/>
-    <color name="note" value="#006699"/>
-    <color name="warning" value="#990000"/>
-    <color name="code" value="#eeeeee"/>
-        
-    <color name="footer" value="#ffffff"/>
-  </colors>
-  </xsl:if>
-
-     <xsl:copy>
+  <xsl:template match="skinconfig">
+    <xsl:if test="not(colors)">
+      <colors>
+<!-- Collabnet -->
+        <color name="header"    value="#ffffff"/>
+<!-- 003366 -->
+        <color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555" hlink="#555555"/>
+        <color name="tab-unselected" value="#999999" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+        <color name="subtab-selected" value="#cccccc" link="#000000" vlink="#000000" hlink="#000000"/>
+        <color name="subtab-unselected" value="#cccccc" link="#555555" vlink="#555555" hlink="#555555"/>
+        <color name="heading" value="#003366"/>
+        <color name="subheading" value="#888888"/>
+        <color name="navstrip" value="#dddddd" font="#555555"/>
+        <color name="toolbox" value="#dddddd" font="#555555"/>
+        <color name="border" value="#999999"/>
+        <color name="menu" value="#ffffff"/>
+        <color name="dialog" value="#eeeeee"/>
+        <color name="body"      value="#ffffff"/>
+        <color name="table" value="#ccc"/>
+        <color name="table-cell" value="#ffffff"/>
+        <color name="highlight" value="#ffff00"/>
+        <color name="fixme" value="#cc6600"/>
+        <color name="note" value="#006699"/>
+        <color name="warning" value="#990000"/>
+        <color name="code" value="#eeeeee"/>
+        <color name="footer" value="#ffffff"/>
+      </colors>
+    </xsl:if>
+    <xsl:copy>
       <xsl:copy-of select="@*"/>
-      <xsl:copy-of select="node()[not(name(.)='colors')]"/>     
+      <xsl:copy-of select="node()[not(name(.)='colors')]"/>
       <xsl:apply-templates select="colors"/>
-     </xsl:copy> 
-           
-    </xsl:template>
-
-    <xsl:template match="colors">
- 
+    </xsl:copy>
+  </xsl:template>
+  <xsl:template match="colors">
     <xsl:copy>
-     <xsl:copy-of select="@*"/>
-     <xsl:copy-of select="node()[name(.)='color']"/>     
-     
-     <xsl:if test="not(color[@name='header'])">
-       <color name="header" value="#ffffff"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='tab-selected'])">
-      <color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555" hlink="#555555"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='tab-unselected'])">
-      <color name="tab-unselected" value="#999999" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='subtab-selected'])">
-      <color name="subtab-selected" value="#cccccc" link="#000000" vlink="#000000" hlink="#000000"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='subtab-unselected'])">
-      <color name="subtab-unselected" value="#cccccc" link="#555555" vlink="#555555" hlink="#555555"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='heading'])">
-      <color name="heading" value="#003366"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='subheading'])">
-      <color name="subheading" value="#888888"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='navstrip'])">
-      <color name="navstrip" value="#dddddd" font="#555555"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='toolbox'])">
-      <color name="toolbox" value="#dddddd" font="#555555"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='border'])">
-       <color name="border" value="#999999"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='menu'])">
-       <color name="menu" value="#ffffff"/>    
-     </xsl:if>  
-     <xsl:if test="not(color[@name='dialog'])">
-      <color name="dialog" value="#eeeeee"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='body'])">
-      <color name="body" value="#ffffff"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='table'])">
-      <color name="table" value="#cccccc"/>    
-     </xsl:if>  
-     <xsl:if test="not(color[@name='table-cell'])">
-      <color name="table-cell" value="#ffffff"/>    
-     </xsl:if>  
-     <xsl:if test="not(color[@name='highlight'])">
-       <color name="highlight" value="#ffff00"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='fixme'])">
-       <color name="fixme" value="#cc6600"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='note'])">
-       <color name="note" value="#006699"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='warning'])">
-       <color name="warning" value="#990000"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='code'])">
-       <color name="code" value="#eeeeee"/>
-     </xsl:if>  
-     <xsl:if test="not(color[@name='footer'])">
-       <color name="footer" value="#ffffff"/>
-     </xsl:if>  
-     </xsl:copy> 
-
-    </xsl:template>
-    
+      <xsl:copy-of select="@*"/>
+      <xsl:copy-of select="node()[name(.)='color']"/>
+      <xsl:if test="not(color[@name='header'])">
+        <color name="header" value="#ffffff"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='tab-selected'])">
+        <color name="tab-selected" value="#dddddd" link="#555555" vlink="#555555" hlink="#555555"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='tab-unselected'])">
+        <color name="tab-unselected" value="#999999" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='subtab-selected'])">
+        <color name="subtab-selected" value="#cccccc" link="#000000" vlink="#000000" hlink="#000000"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='subtab-unselected'])">
+        <color name="subtab-unselected" value="#cccccc" link="#555555" vlink="#555555" hlink="#555555"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='heading'])">
+        <color name="heading" value="#003366"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='subheading'])">
+        <color name="subheading" value="#888888"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='navstrip'])">
+        <color name="navstrip" value="#dddddd" font="#555555"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='toolbox'])">
+        <color name="toolbox" value="#dddddd" font="#555555"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='border'])">
+        <color name="border" value="#999999"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='menu'])">
+        <color name="menu" value="#ffffff"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='dialog'])">
+        <color name="dialog" value="#eeeeee"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='body'])">
+        <color name="body" value="#ffffff"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='table'])">
+        <color name="table" value="#cccccc"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='table-cell'])">
+        <color name="table-cell" value="#ffffff"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='highlight'])">
+        <color name="highlight" value="#ffff00"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='fixme'])">
+        <color name="fixme" value="#cc6600"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='note'])">
+        <color name="note" value="#006699"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='warning'])">
+        <color name="warning" value="#990000"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='code'])">
+        <color name="code" value="#eeeeee"/>
+      </xsl:if>
+      <xsl:if test="not(color[@name='footer'])">
+        <color name="footer" value="#ffffff"/>
+      </xsl:if>
+    </xsl:copy>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/main/webapp/skins/tigris/xslt/fo/document-to-fo.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/tigris/xslt/fo/document-to-fo.xsl?view=diff&rev=526993&r1=526992&r2=526993
==============================================================================
--- forrest/trunk/main/webapp/skins/tigris/xslt/fo/document-to-fo.xsl (original)
+++ forrest/trunk/main/webapp/skins/tigris/xslt/fo/document-to-fo.xsl Mon Apr  9 18:49:44 2007
@@ -15,13 +15,8 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:fo="http://www.w3.org/1999/XSL/Format"
                 version="1.0">
-
-<xsl:import href="../../../common/xslt/fo/document-to-fo.xsl"/>
-
+  <xsl:import href="../../../common/xslt/fo/document-to-fo.xsl"/>
 </xsl:stylesheet>
-
-

Modified: forrest/trunk/main/webapp/skins/tigris/xslt/html/book-to-menu.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/tigris/xslt/html/book-to-menu.xsl?view=diff&rev=526993&r1=526992&r2=526993
==============================================================================
--- forrest/trunk/main/webapp/skins/tigris/xslt/html/book-to-menu.xsl (original)
+++ forrest/trunk/main/webapp/skins/tigris/xslt/html/book-to-menu.xsl Mon Apr  9 18:49:44 2007
@@ -20,42 +20,32 @@
 details.
 
 -->
-
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-    <xsl:import href="../../../common/xslt/html/book-to-menu.xsl"/>
-
-    <xsl:template match="book">
-        <div class="menu">
-            <div class="body">
-                <xsl:apply-templates select="menu"/>
-            </div>
-        </div>
-        <div class="strut">
-            <xsl:text> </xsl:text>
-        </div>
-    </xsl:template>
-
-    <xsl:template match="menu-item[@type='hidden']"/>
-
-    <xsl:template match="menu | menu-item">
-        <div>
-            <a href="{@href}">
-                <xsl:value-of select="@label"/>
-            </a>
-            <xsl:apply-templates/>
-        </div>
-    </xsl:template>
-
-    <xsl:template name="selected">
-        <div class="selfref">
-            <xsl:value-of select="@label"/>
-            <xsl:apply-templates/>
-        </div>
-    </xsl:template>
-
-    <xsl:template name="print-external">
-        <xsl:apply-imports/>
-    </xsl:template>
-
+  <xsl:import href="../../../common/xslt/html/book-to-menu.xsl"/>
+  <xsl:template match="book">
+    <div class="menu">
+      <div class="body">
+        <xsl:apply-templates select="menu"/>
+      </div>
+    </div>
+    <div class="strut">
+<xsl:text> </xsl:text>
+    </div>
+  </xsl:template>
+  <xsl:template match="menu-item[@type='hidden']"/>
+  <xsl:template match="menu | menu-item">
+    <div><a href="{@href}">
+      <xsl:value-of select="@label"/></a>
+      <xsl:apply-templates/>
+    </div>
+  </xsl:template>
+  <xsl:template name="selected">
+    <div class="selfref">
+      <xsl:value-of select="@label"/>
+      <xsl:apply-templates/>
+    </div>
+  </xsl:template>
+  <xsl:template name="print-external">
+    <xsl:apply-imports/>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/main/webapp/skins/tigris/xslt/html/document-to-html.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/skins/tigris/xslt/html/document-to-html.xsl?view=diff&rev=526993&r1=526992&r2=526993
==============================================================================
--- forrest/trunk/main/webapp/skins/tigris/xslt/html/document-to-html.xsl (original)
+++ forrest/trunk/main/webapp/skins/tigris/xslt/html/document-to-html.xsl Mon Apr  9 18:49:44 2007
@@ -28,86 +28,83 @@
 
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
   <xsl:import href="../../../common/xslt/html/document-to-html.xsl"/>
-
   <xsl:template match="document">
     <meta-data>
       <xsl:apply-templates select="header/meta"/>
     </meta-data>
     <div class="content">
-     <div id="topmodule" align="right">
-      <table border="0" cellspacing="0" cellpadding="3" width="100%">
-       <!-- ( ================= middle NavBar ================== ) -->
-        <tr>
-        <td class="tasknav" >
-          <div align="left">
-           <!--
+      <div id="topmodule" align="right">
+        <table border="0" cellspacing="0" cellpadding="3" width="100%">
+<!-- ( ================= middle NavBar ================== ) -->
+          <tr>
+            <td class="tasknav" >
+              <div align="left">
+<!--
                 site-to-html.xsl will search for this as
 
                    td[@class='tasknav']/div[@align='left']
 
                 to insert the breadcrumbs.
           -->
+              </div>
+            </td>
+            <td id="issueid" class="tasknav">
+              <div align="right">
+                <div id="skinconf-printlink"/>
+                <xsl:if test="$dynamic-page='false'">
+                  <div id="skinconf-podlink"/>
+                  <div id="skinconf-txtlink"/>
+                  <div id="skinconf-pdflink"/>
+                  <div id="skinconf-xmllink"/>
+                </xsl:if>
+              </div>
+            </td>
+          </tr>
+        </table>
+      </div>
+<!-- ( ================= Content================== ) -->
+      <div id="bodycol">
+        <xsl:if test="normalize-space(header/title)!=''">
+          <div id="apphead">
+            <h2><em>
+              <xsl:value-of select="header/title"/></em>
+            </h2>
           </div>
-        </td>
-        <td id="issueid" class="tasknav">
-        <div align="right">
-          <div id="skinconf-printlink"/>
-          <xsl:if test="$dynamic-page='false'">
-            <div id="skinconf-podlink"/>
-            <div id="skinconf-txtlink"/>
-            <div id="skinconf-pdflink"/>
-            <div id="skinconf-xmllink"/>
+        </xsl:if>
+        <xsl:if test="normalize-space(header/subtitle)!=''">
+          <h3><em>
+            <xsl:value-of select="header/subtitle"/></em>
+          </h3>
+        </xsl:if>
+        <xsl:if test="header/abstract">
+          <div class="abstract">
+            <xsl:value-of select="header/abstract"/>
+          </div>
+        </xsl:if>
+        <div id="projecthome" class="app">
+          <xsl:apply-templates select="body"/>
+          <xsl:if test="header/authors">
+            <p align="right">
+              <font size="-2">
+                <xsl:for-each select="header/authors/person">
+                  <xsl:choose>
+                    <xsl:when test="position()=1">by&#160;</xsl:when>
+                    <xsl:otherwise>,&#160;</xsl:otherwise>
+                  </xsl:choose>
+                  <xsl:value-of select="@name"/>
+                </xsl:for-each>
+              </font>
+            </p>
           </xsl:if>
         </div>
-        </td>
-       </tr>
-      </table>
-     </div>
-
-    <!-- ( ================= Content================== ) -->
-    <div id="bodycol">
-      <xsl:if test="normalize-space(header/title)!=''">
-        <div id="apphead">
-         <h2><em><xsl:value-of select="header/title"/></em></h2>
-        </div>
-      </xsl:if>
-      <xsl:if test="normalize-space(header/subtitle)!=''">
-        <h3><em><xsl:value-of select="header/subtitle"/></em></h3>
-      </xsl:if>
-      <xsl:if test="header/abstract">
-        <div class="abstract">
-          <xsl:value-of select="header/abstract"/>
-        </div>
-      </xsl:if>
-
-      <div id="projecthome" class="app">
-        <xsl:apply-templates select="body"/>
-
-       <xsl:if test="header/authors">
-        <p align="right">
-          <font size="-2">
-            <xsl:for-each select="header/authors/person">
-              <xsl:choose>
-                <xsl:when test="position()=1">by&#160;</xsl:when>
-                <xsl:otherwise>,&#160;</xsl:otherwise>
-              </xsl:choose>
-              <xsl:value-of select="@name"/>
-            </xsl:for-each>
-          </font>
-        </p>
-      </xsl:if>
-       </div>
       </div>
     </div>
   </xsl:template>
-
   <xsl:template match="body">
     <div id="skinconf-toc-page"/>
     <xsl:apply-templates/>
   </xsl:template>
-
   <xsl:template name="generate-id">
     <xsl:choose>
       <xsl:when test="@id">
@@ -118,92 +115,98 @@
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
-
-    <xsl:template match="link | jump | fork | source | anchor | icon | code | figure | @id" >
+  <xsl:template match="link | jump | fork | source | anchor | icon | code | figure | @id" >
     <xsl:apply-imports/>
   </xsl:template>
-
-  <xsl:template match="section">
-    <a name="{generate-id()}"/>
-
+  <xsl:template match="section"><a name="{generate-id()}"/>
     <xsl:apply-templates select="@id"/>
-
     <xsl:variable name = "level" select = "count(ancestor::section)+1" />
-
     <xsl:choose>
       <xsl:when test="$level=1">
-       <div class="h3">
-        <h3><xsl:value-of select="title"/></h3>
-        <xsl:apply-templates/>
-      </div>
+        <div class="h3">
+          <h3>
+            <xsl:value-of select="title"/>
+          </h3>
+          <xsl:apply-templates/>
+        </div>
       </xsl:when>
       <xsl:when test="$level=2">
-       <div class="h4">
-        <h4><xsl:value-of select="title"/></h4>
-        <xsl:apply-templates select="*[not(self::title)]"/>
-      </div>
-
+        <div class="h4">
+          <h4>
+            <xsl:value-of select="title"/>
+          </h4>
+          <xsl:apply-templates select="*[not(self::title)]"/>
+        </div>
       </xsl:when>
-      <!-- If a faq, answer sections will be level 3 (1=Q/A, 2=part) -->
+<!-- If a faq, answer sections will be level 3 (1=Q/A, 2=part) -->
       <xsl:when test="$level=3 and $notoc='true'">
-        <h4 class="faq"><xsl:value-of select="title"/></h4>
-        <div align="right"><a href="#{@id}-menu">^</a></div>
+        <h4 class="faq">
+          <xsl:value-of select="title"/>
+        </h4>
+        <div align="right"><a href="#{@id}-menu">^</a>
+        </div>
         <div style="margin-left: 15px">
           <xsl:apply-templates select="*[not(self::title)]"/>
         </div>
       </xsl:when>
       <xsl:when test="$level=3">
-        <h4><xsl:value-of select="title"/></h4>
+        <h4>
+          <xsl:value-of select="title"/>
+        </h4>
         <xsl:apply-templates select="*[not(self::title)]"/>
-
       </xsl:when>
-
       <xsl:otherwise>
-        <h5><xsl:value-of select="title"/></h5>
+        <h5>
+          <xsl:value-of select="title"/>
+        </h5>
         <xsl:apply-templates select="*[not(self::title)]"/>
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
-
   <xsl:template match="fixme">
     <div class="warningmessage">
-      <p><strong>Fixme (<xsl:value-of select="@author"/>)</strong></p>
+      <p>
+        <strong>Fixme (
+        <xsl:value-of select="@author"/>
+        )</strong>
+      </p>
       <xsl:apply-templates/>
     </div>
   </xsl:template>
-
   <xsl:template match="note">
     <div class="infomessage">
-      <p><strong>Note</strong></p>
+      <p>
+        <strong>Note</strong>
+      </p>
       <xsl:apply-templates/>
     </div>
   </xsl:template>
-
   <xsl:template match="warning">
     <div class="errormessage">
-      <p><strong>Warning</strong></p>
+      <p>
+        <strong>Warning</strong>
+      </p>
       <xsl:apply-templates/>
     </div>
   </xsl:template>
-
   <xsl:template match="p[@xml:space='preserve']">
     <xsl:apply-imports/>
   </xsl:template>
-
   <xsl:template match="table">
-   <div class="h4">
-    <xsl:apply-templates select="@id"/>
-    <xsl:if test="caption">
-        <h4><xsl:value-of select="caption"/></h4>
-    </xsl:if>
-    <xsl:apply-templates select="caption"/>
+    <div class="h4">
+      <xsl:apply-templates select="@id"/>
+      <xsl:if test="caption">
+        <h4>
+          <xsl:value-of select="caption"/>
+        </h4>
+      </xsl:if>
+      <xsl:apply-templates select="caption"/>
       <table border="1" cellspacing="2" cellpadding="3" width="100%" class="grid">
         <xsl:copy-of select="@cellspacing | @cellpadding | @border | @class | @bgcolor"/>
         <xsl:apply-templates/>
-    </table>
-   </div>
+      </table>
+    </div>
   </xsl:template>
-
-  <!-- do not show caption or title elements, they are already in other places -->
+<!-- do not show caption or title elements, they are already in other places -->
   <xsl:template match="caption | title"/>
 </xsl:stylesheet>



Mime
View raw message