You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by an...@apache.org on 2004/12/02 06:59:08 UTC

svn commit: r109457 - /forrest/trunk/main/webapp/skins/common/skinconf.xsl

Author: antonio
Date: Wed Dec  1 21:59:05 2004
New Revision: 109457

URL: http://svn.apache.org/viewcvs?view=rev&rev=109457
Log:
Simplify tags. Clean trailing spaces.
Modified:
   forrest/trunk/main/webapp/skins/common/skinconf.xsl

Modified: forrest/trunk/main/webapp/skins/common/skinconf.xsl
Url: http://svn.apache.org/viewcvs/forrest/trunk/main/webapp/skins/common/skinconf.xsl?view=diff&rev=109457&p1=forrest/trunk/main/webapp/skins/common/skinconf.xsl&r1=109456&p2=forrest/trunk/main/webapp/skins/common/skinconf.xsl&r2=109457
==============================================================================
--- forrest/trunk/main/webapp/skins/common/skinconf.xsl	(original)
+++ forrest/trunk/main/webapp/skins/common/skinconf.xsl	Wed Dec  1 21:59:05 2004
@@ -15,74 +15,74 @@
   limitations under the License.
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-        
+
     <xsl:template match="skinconfig">
       <xsl:copy>
-     <xsl:if test="not(disable-print-link)">     
+     <xsl:if test="not(disable-print-link)">
        <disable-print-link>true</disable-print-link>
      </xsl:if>
-     <xsl:if test="not(disable-pdf-link)">     
+     <xsl:if test="not(disable-pdf-link)">
        <disable-pdf-link>true</disable-pdf-link>
      </xsl:if>
-     <xsl:if test="not(disable-txt-link)">     
+     <xsl:if test="not(disable-txt-link)">
        <disable-txt-link>true</disable-txt-link>
      </xsl:if>
-     <xsl:if test="not(disable-pod-link)">     
+     <xsl:if test="not(disable-pod-link)">
        <disable-pod-link>true</disable-pod-link>
      </xsl:if>
-     <xsl:if test="not(disable-xml-link)">     
+     <xsl:if test="not(disable-xml-link)">
        <disable-xml-link>true</disable-xml-link>
      </xsl:if>
-     <xsl:if test="not(disable-external-link-image)">     
+     <xsl:if test="not(disable-external-link-image)">
        <disable-external-link-image>false</disable-external-link-image>
      </xsl:if>
-     <xsl:if test="not(disable-compliance-links)">     
+     <xsl:if test="not(disable-compliance-links)">
        <disable-compliance-links>false</disable-compliance-links>
      </xsl:if>
-     <xsl:if test="not(obfuscate-mail-links)">     
+     <xsl:if test="not(obfuscate-mail-links)">
        <obfuscate-mail-links>true</obfuscate-mail-links>
      </xsl:if>
-     <xsl:if test="not(obfuscate-mail-value)">     
+     <xsl:if test="not(obfuscate-mail-value)">
        <obfuscate-mail-value>.at.</obfuscate-mail-value>
      </xsl:if>
-     <xsl:if test="not(disable-font-script)">     
+     <xsl:if test="not(disable-font-script)">
        <disable-font-script>true</disable-font-script>
      </xsl:if>
      <!--
-     <xsl:if test="not(project-name)">     
+     <xsl:if test="not(project-name)">
        <project-name>MyProject</project-name>
      </xsl:if>
-     <xsl:if test="not(project-description)">     
+     <xsl:if test="not(project-description)">
        <project-description>MyProject Description</project-description>
      </xsl:if>
-     <xsl:if test="not(project-url)">     
+     <xsl:if test="not(project-url)">
        <project-url>http://myproj.mygroup.org/</project-url>
      </xsl:if>
-     <xsl:if test="not(project-logo)">     
+     <xsl:if test="not(project-logo)">
        <project-logo>images/project.png</project-logo>
      </xsl:if>
-     <xsl:if test="not(group-name)">     
+     <xsl:if test="not(group-name)">
        <group-name>MyGroup</group-name>
      </xsl:if>
-     <xsl:if test="not(group-description)">     
+     <xsl:if test="not(group-description)">
        <group-description>MyGroup Description</group-description>
      </xsl:if>
-     <xsl:if test="not(group-url)">     
+     <xsl:if test="not(group-url)">
        <group-url>http://mygroup.org</group-url>
      </xsl:if>
-     <xsl:if test="not(group-logo)">     
+     <xsl:if test="not(group-logo)">
        <group-logo>images/group.png</group-logo>
      </xsl:if>
-     <xsl:if test="not(host-url)">     
+     <xsl:if test="not(host-url)">
        <host-url/>
      </xsl:if>
-     <xsl:if test="not(host-logo)">     
+     <xsl:if test="not(host-logo)">
        <host-logo/>
      </xsl:if>
-     <xsl:if test="not(year)">     
+     <xsl:if test="not(year)">
        <year>2004</year>
      </xsl:if>
-     <xsl:if test="not(vendor)">     
+     <xsl:if test="not(vendor)">
        <vendor>The Acme Software Foundation.</vendor>
      </xsl:if>
      -->
@@ -92,12 +92,9 @@
          <link2 name="" href=""/>
          <link3 name="" href=""/>
        </trail>
-       
-     </xsl:if>
-     <xsl:if test="not(trail)">
         <toc level="2" location="page"/>
      </xsl:if>
-     
+
     <xsl:if test="not(pdf/show-external-urls)">
         <pdf><show-external-urls>true</show-external-urls></pdf>
     </xsl:if>
@@ -115,32 +112,31 @@
 
     <color name="heading" value="#294563"/>
     <color name="subheading" value="#4a6d8c"/>
-        
+
     <color name="navstrip" value="#cedfef"/>
     <color name="toolbox" value="#294563"/>
-    
-    <color name="menu" value="#4a6d8c"/>    
+
+    <color name="menu" value="#4a6d8c"/>
     <color name="dialog" value="#4a6d8c"/>
-            
+
     <color name="body" value="#ffffff"/>
-    
-    <color name="table" value="#7099C5"/>    
-    <color name="table-cell" value="#f0f0ff"/>    
+
+    <color name="table" value="#7099C5"/>
+    <color name="table-cell" value="#f0f0ff"/>
     <color name="highlight" value="#ffff00"/>
     <color name="fixme" value="#c60"/>
     <color name="note" value="#069"/>
 
     <color name="warning" value="#900"/>
     <color name="code" value="#CFDCED"/>
-        
+
     <color name="footer" value="#cedfef"/>
   </colors>
   </xsl:if>
 -->
 
   <xsl:if test="not(extra-css)">
-    <extra-css>
-    </extra-css>
+    <extra-css/>
   </xsl:if>
   <xsl:if test="not(credits)">
    <credits>
@@ -153,15 +149,15 @@
     </credit>
     <!-- A credit with @role='pdf' will have its name and url displayed in the
     PDF page's footer. -->
-  </credits>     
+  </credits>
   </xsl:if>
 
       <xsl:copy-of select="@*"/>
-      <xsl:copy-of select="node()"/>     
+      <xsl:copy-of select="node()"/>
       <!--
-      <xsl:copy-of select="node()[not(name(.)='colors')]"/>     
+      <xsl:copy-of select="node()[not(name(.)='colors')]"/>
       <xsl:apply-templates select="colors"/>-->
-     </xsl:copy> 
+     </xsl:copy>
 
     </xsl:template>
 <!--
@@ -169,71 +165,71 @@
     <colors>
      <xsl:if test="not(color[@name='header'])">
        <color name="header" value="#294563"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='tab-selected'])">
       <color name="tab-selected" value="#4a6d8c"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='tab-unselected'])">
       <color name="tab-unselected" value="#b5c7e7"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='subtab-selected'])">
       <color name="subtab-selected" value="#4a6d8c"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='subtab-unselected'])">
       <color name="subtab-unselected" value="#4a6d8c"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='heading'])">
       <color name="heading" value="#294563"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='subheading'])">
       <color name="subheading" value="#4a6d8c"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='navstrip'])">
       <color name="navstrip" value="#cedfef"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='toolbox'])">
        <color name="toolbox" value="#294563"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='menu'])">
-       <color name="menu" value="#4a6d8c"/>    
-     </xsl:if>  
+       <color name="menu" value="#4a6d8c"/>
+     </xsl:if>
      <xsl:if test="not(color[@name='dialog'])">
       <color name="dialog" value="#4a6d8c"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='body'])">
       <color name="body" value="#ffffff"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='table'])">
-      <color name="table" value="#7099C5"/>    
-     </xsl:if>  
+      <color name="table" value="#7099C5"/>
+     </xsl:if>
      <xsl:if test="not(color[@name='table-cell'])">
-      <color name="table-cell" value="#f0f0ff"/>    
-     </xsl:if>  
+      <color name="table-cell" value="#f0f0ff"/>
+     </xsl:if>
      <xsl:if test="not(color[@name='highlight'])">
        <color name="highlight" value="#yellow"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='fixme'])">
        <color name="fixme" value="#c60"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='note'])">
        <color name="note" value="#069"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='warning'])">
        <color name="warning" value="#900"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='code'])">
        <color name="code" value="#CFDCED"/>
-     </xsl:if>  
+     </xsl:if>
      <xsl:if test="not(color[@name='footer'])">
        <color name="footer" value="#cedfef"/>
-     </xsl:if>  
+     </xsl:if>
 
      <xsl:copy>
       <xsl:copy-of select="@*"/>
-      <xsl:copy-of select="node()[name(.)='color']"/>     
-     </xsl:copy> 
+      <xsl:copy-of select="node()[name(.)='color']"/>
+     </xsl:copy>
 
-      </colors> 
+      </colors>
     </xsl:template>
--->    
+-->
 </xsl:stylesheet>