forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r527037 [1/6] - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher: ./ resources/stylesheets/ resources/stylesheets/common/ resources/stylesheets/common/css/ resources/stylesheets/common/images/ resources/sty...
Date Tue, 10 Apr 2007 05:33:34 GMT
Author: crossley
Date: Mon Apr  9 22:33:31 2007
New Revision: 527037

URL: http://svn.apache.org/viewvc?view=rev&rev=527037
Log:
Whitespace changes only. Using xmlformat. Issue: FOR-644

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/dataModel-tabs.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/dataModel.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/ls.xmap
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/css/forrest.css.xslt
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/corner-imports.svg.xslt
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/dc.svg.xslt
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/poddoc.svg.xslt
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/rc.svg.xslt
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/txtdoc.svg.xslt
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/skinconf.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/translations/CommonMessages_es.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/fo/document2fo.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/fo/footerinfo.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/fo/pdfoutline.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/html/book-to-menu.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/html/document-to-html.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/html/dotdots.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/html/pathutils.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/html/renderlogo.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/html/site-to-xhtml.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/html/split.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/html/strip_namespaces.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/html/tab-to-menu.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/html/tabutils.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/xslt/svg/document2svg.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/fo/hooksMatcher.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/fo/strip-dispatcher-remains.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/contract-strip-xsl.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/generateId.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/helper/variable.helper.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/hooksMatcher.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/html/book-to-menu.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/html/document-to-html.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/html/hooksMatcher.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/html/strip-dispatcher-remains.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/html/tab-to-menu.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/html/xhtml2_to_html.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/ls.contracts-to-document.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/ls.contracts.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/project-to-text.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/root-strip.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/round-corner-hex.svg.xslt
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-abstract.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-authors.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-notice.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-title.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/xml/document-to-toc.xsl
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/dispatcher-glossary.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/how/howto-dispatcher-contracts.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/how/howto-dispatcher-quickstart.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/how/howto-dispatcher-structurer.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/index.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/int/index.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/site.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/tabs.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/resources/themes/pelt.fv
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/skinconf.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/status.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/themes.xmap

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build.xml?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/build.xml Mon Apr  9 22:33:31 2007
@@ -16,7 +16,6 @@
   limitations under the License.
 -->
 <project default="docs" basedir="." name="Forrest plugin build file">
-
   <property name="plugin-name" value="org.apache.forrest.plugin.internal.dispatcher"/>
   <property name="forrest.version" value="0.8"/>
   <property name="type" value="internal"/>
@@ -26,10 +25,8 @@
   <property name="websiteURL" value="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/"/>
   <property name="downloadURL" value="http://forrest.apache.org/plugins/"/>
   <property name="publish" value="true"/>
-    
   <import file="../build.xml"/>
-  
-  <!-- Add any additional installation work here in the build target, for example:
+<!-- Add any additional installation work here in the build target, for example:
   <target name="build"
           description="Extract the tools">
      <unzip dest="${plugins.localDeploy-dir}/${plugin-name}/resources">
@@ -40,5 +37,3 @@
   </target>
   -->
 </project>
-  
-  

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/dataModel-tabs.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/dataModel-tabs.xmap?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/dataModel-tabs.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/dataModel-tabs.xmap Mon Apr  9 22:33:31 2007
@@ -30,13 +30,13 @@
     <map:serializers default="xml" />
   </map:components>
   <map:pipelines>
-    <!--
+<!--
       businessHelper for the TABs. It needs to be in a separate sitemap for proper
       i18n - the i18nTransformer can have only one default catalogue, and to avoid
       having to state the catalogue on every key, we utilise a separate sitemap.
     -->
     <map:pipeline>
-      <!-- navigation for the current request PART tab-->
+<!-- navigation for the current request PART tab-->
       <map:match pattern="**.tab.xml">
         <map:select type="exists">
           <map:when test="{properties:content.xdocs}tabs.xml">
@@ -68,11 +68,11 @@
           <map:transform type="linkrewriter" src="cocoon://linkmap-{1}" />
         </map:match>
         <map:transform src="{lm:dataModel-html-tab-to-menu.xsl}">
-          <!--<map:transform src="{lm:dataModel-html-tab2menu.xsl}">-->
+<!--<map:transform src="{lm:dataModel-html-tab2menu.xsl}">-->
           <map:parameter name="path" value="{1}{2}.html" />
         </map:transform>
         <map:serialize />
       </map:match>
     </map:pipeline>
   </map:pipelines>
-</map:sitemap>
\ No newline at end of file
+</map:sitemap>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/dataModel.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/dataModel.xmap?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/dataModel.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/dataModel.xmap Mon Apr  9 22:33:31 2007
@@ -30,12 +30,12 @@
     <map:serializers default="xml" />
   </map:components>
   <map:pipelines>
-    <!--
+<!--
       businessHelper
       This is the model producing factory.
     -->
     <map:pipeline>
-      <!-- intermediate format link rewritten-->
+<!-- intermediate format link rewritten-->
       <map:match pattern="**.source.rewritten.xml">
         <map:generate src="cocoon://{1}.xml" />
         <map:transform type="idgen" />
@@ -51,7 +51,7 @@
       </map:match>
     </map:pipeline>
     <map:pipeline>
-      <!-- HTML rendered from intermediate format -->
+<!-- HTML rendered from intermediate format -->
       <map:match pattern="**.body.xml">
         <map:generate src="cocoon:/{1}.source.rewritten.xml" />
         <map:transform src="{lm:dataModel-html-document-to-html.xsl}">
@@ -61,7 +61,7 @@
       </map:match>
     </map:pipeline>
     <map:pipeline>
-      <!-- TOC from source.rewritten-->
+<!-- TOC from source.rewritten-->
       <map:match pattern="**.toc.xml">
         <map:generate src="cocoon:/{1}.source.rewritten.xml" />
         <map:transform src="{lm:dataModel-xml-document-to-toc.xsl}" />
@@ -99,7 +99,7 @@
       </map:match>
     </map:pipeline>
     <map:pipeline>
-      <!-- navigation for the current request -->
+<!-- navigation for the current request -->
       <map:match pattern="**.navigation.xml">
         <map:aggregate element="navigation">
           <map:part src="cocoon:/{1}.tab.xml" element="tab" />
@@ -125,7 +125,7 @@
       </map:match>
     </map:pipeline>
     <map:pipeline>
-      <!-- navigation for the current request PART tab: relegated to a separate
+<!-- navigation for the current request PART tab: relegated to a separate
            sitemap to allow proper i18n. -->
       <map:match pattern="**.tab.xml">
         <map:mount uri-prefix="" src="dataModel-tabs.xmap" check-reload="yes" />
@@ -136,15 +136,15 @@
         <map:match pattern="**/*.book.xml">
           <map:select type="exists">
             <map:when test="{properties:content.xdocs}{1}/book.xml">
-              <!-- If a hand-created book.xml exists, use it -->
+<!-- If a hand-created book.xml exists, use it -->
               <map:parameter name="url"
                 value="{properties:content.xdocs}{1}/book.xml" />
               <map:generate src="{properties:content.xdocs}{1}/book.xml" />
             </map:when>
             <map:otherwise>
-              <!-- If no book.xml, generate it from the linkmap. -->
+<!-- If no book.xml, generate it from the linkmap. -->
               <map:generate src="cocoon:/{1}/menulinks-{2}" />
-              <!-- The above generates the subset of the linkmap relevant to our directory. -->
+<!-- The above generates the subset of the linkmap relevant to our directory. -->
               <map:transform
                 src="{forrest:forrest.stylesheets}/site-to-book.xsl" />
             </map:otherwise>
@@ -153,15 +153,15 @@
         <map:match pattern="*.book.xml">
           <map:select type="exists">
             <map:when test="{properties:content.xdocs}/book.xml">
-              <!-- If a hand-created book.xml exists, use it -->
+<!-- If a hand-created book.xml exists, use it -->
               <map:parameter name="url"
                 value="{properties:content.xdocs}/book.xml" />
               <map:generate src="{properties:content.xdocs}/book.xml" />
             </map:when>
             <map:otherwise>
-              <!-- If no book.xml, generate it from the linkmap. -->
+<!-- If no book.xml, generate it from the linkmap. -->
               <map:generate src="cocoon:/menulinks-{1}" />
-              <!-- The above generates the subset of the linkmap relevant to our directory. -->
+<!-- The above generates the subset of the linkmap relevant to our directory. -->
               <map:transform
                 src="{forrest:forrest.stylesheets}/site-to-book.xsl" />
             </map:otherwise>
@@ -173,7 +173,7 @@
             <map:act type="locale">
               <map:transform src="{lm:transform.book.book-i18n}" />
               <map:transform type="i18n">
-                <!-- We can use a default locale attribute or Request Parameter
+<!-- We can use a default locale attribute or Request Parameter
                   <map:parameter name="locale" value="{properties:forrest.locale}"/>
                   <map:parameter name="locale" value="{lang}{country}{variant}"-->
                 <map:parameter name="locale" value="{locale}" />

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml Mon Apr  9 22:33:31 2007
@@ -23,7 +23,7 @@
   <property name="dispatcher.themer" value="org.apache.forrest.themes.core"/>
   <property name="dispatcher.home" value="org.apache.forrest.plugin.internal.dispatcher"/>
   <property name="dispatcher.caching" value="on" />
-  <!--SVG example for project/group logo-->
+<!--SVG example for project/group logo-->
   <property name="group-name" value="group"/>
   <property name="project-name" value="project"/>
 </properties>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/internal.xmap Mon Apr  9 22:33:31 2007
@@ -40,7 +40,7 @@
       <map:generator name="jx" logger="sitemap.generator.jx" 
         src="org.apache.cocoon.generation.JXTemplateGenerator" 
         label="content,data" pool-max="16" />
-        <map:generator name="text" 
+      <map:generator name="text" 
         src="org.apache.cocoon.generation.TextGenerator">
         <parameter name="localizable" value="true" />
       </map:generator>
@@ -53,7 +53,7 @@
       <map:transformer name="dispatcher" 
         src="org.apache.forrest.dispatcher.transformation.DispatcherTransformer" 
         />
-        <map:transformer name="i18n" 
+      <map:transformer name="i18n" 
         src="org.apache.cocoon.transformation.I18nTransformer">
         <catalogues default="contracts">
           <catalogue id="other" name="OtherMessages" location="{lm:project.translations}" />
@@ -76,8 +76,8 @@
       </map:serializer>
       <map:serializer mime-type="image/png" name="svg2png" 
         src="org.apache.cocoon.serialization.SVGSerializer">
-        <!--<parameter name="background_color" type="color" value="#ff00ff"/>-->
-        <!-- <parameter name="gamma" type="float" value="0.48"/> -->
+<!--<parameter name="background_color" type="color" value="#ff00ff"/>-->
+<!-- <parameter name="gamma" type="float" value="0.48"/> -->
         <parameter name="gamma" type="float" value="0" />
       </map:serializer>
       <map:serializer name="xml-utf8" mime-type="text/xml" src="org.apache.cocoon.serialization.XMLSerializer">
@@ -87,10 +87,10 @@
     <map:actions>
       <map:action name="locale" src="org.apache.cocoon.acting.LocaleAction" />
     </map:actions>
-     <map:pipes default="caching"/>
+    <map:pipes default="caching"/>
   </map:components>
   <map:pipelines>
-    <!--FOR-808 WORKAROUND
+<!--FOR-808 WORKAROUND
       Creating a virtual skinconf from the properties module.
       The core depends on a skinconf but the dispatcher not.
       See as well FOR-829 where we use this config.-->
@@ -100,27 +100,26 @@
         <map:serialize />
       </map:match>
     </map:pipeline>
-    <!--
+<!--
       structurer
       prepares and transforms the requested contracts (themes) and populate them with the content (businessHelper).
     -->
     <map:pipeline>
       <map:act type="locale" >
-      <map:match pattern="resolve.structurer.**">
-        <map:generate src="lm://resolve.structurer.{1}" />
-        <map:serialize />
-      </map:match>
-      <map:match pattern="resolve.contract.*.**">
-        <map:generate src="{lm:resolve.contract.{1}.{2}}" />
-        <map:transform type="i18n">
-          <map:parameter name="locale" value="{../locale}" />
-        </map:transform>
-        <map:serialize />
-      </map:match>
+        <map:match pattern="resolve.structurer.**">
+          <map:generate src="lm://resolve.structurer.{1}" />
+          <map:serialize />
+        </map:match>
+        <map:match pattern="resolve.contract.*.**">
+          <map:generate src="{lm:resolve.contract.{1}.{2}}" />
+          <map:transform type="i18n">
+            <map:parameter name="locale" value="{../locale}" />
+          </map:transform>
+          <map:serialize />
+        </map:match>
       </map:act>
     </map:pipeline>
-
-    <!-- prepare the xsl:templates of the requested contract.
+<!-- prepare the xsl:templates of the requested contract.
       {1} format to deliver
       {2} contract name
       Note - This pipeline is useful to include contracts into another. To include a contract :
@@ -128,18 +127,17 @@
       Warning - At the moment, the contracts do not manage formats anymore... -->
     <map:pipeline>
       <map:act type="locale" >
-      <map:match pattern="prepare.contract.*.**">
-        <map:generate src="{lm:resolve.contract.{1}.{2}}" />
-        <map:transform src="{lm:contract-strip-xsl.xsl}"/>
-        <map:transform type="i18n">
-          <map:parameter name="locale" value="{../locale}" />
-        </map:transform>
-        <map:serialize />
-      </map:match>
+        <map:match pattern="prepare.contract.*.**">
+          <map:generate src="{lm:resolve.contract.{1}.{2}}" />
+          <map:transform src="{lm:contract-strip-xsl.xsl}"/>
+          <map:transform type="i18n">
+            <map:parameter name="locale" value="{../locale}" />
+          </map:transform>
+          <map:serialize />
+        </map:match>
       </map:act>
     </map:pipeline>
-
-    <!-- You can group elements to a template and call it from any view. 
+<!-- You can group elements to a template and call it from any view. 
       <jx:import uri="cocoon://prepare.panels.export-link"/>
     -->
     <map:pipeline>
@@ -151,7 +149,7 @@
       </map:match>
     </map:pipeline>
     <map:pipeline>
-      <!--
+<!--
         Last processing step. 
         Here we are overriding the default skin generation.
       -->
@@ -178,7 +176,7 @@
           />
         <map:serialize type="xhtml" />
       </map:match>
-      <!--
+<!--
         Last processing step. 
         Here we are overriding the default skin generation.
       -->
@@ -194,7 +192,7 @@
           <map:parameter name="validityFile" value="cocoon:/resolve.structurer.{1}" />
           <map:parameter name="request" value="{1}" />
           <map:parameter name="type" value="fo" />
-          <map:parameter name="hooksTransformer" value="lm://hooks-to-fo.xsl"/> 
+          <map:parameter name="hooksTransformer" value="lm://hooks-to-fo.xsl"/>
         </map:transform>
         <map:transform 
           src="lm://strip-dispatcher-remains-fo.xsl" 
@@ -260,11 +258,11 @@
       </map:match>
     </map:pipeline>
     <map:pipeline>
-      <!-- businessHelper -->
+<!-- businessHelper -->
       <map:mount uri-prefix="" src="dataModel.xmap" check-reload="yes" 
         pass-through="true" />
     </map:pipeline>
-    <!-- linkmap -->
+<!-- linkmap -->
     <map:pipeline>
       <map:mount uri-prefix="" src="ls.xmap" check-reload="yes" 
         pass-through="true" />

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml Mon Apr  9 22:33:31 2007
@@ -17,136 +17,136 @@
 -->
 <!-- Default Forrest locationmap for the structurer/themer -->
 <locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
-    <components>
-        <matchers default="lm">
-            <matcher name="lm" 
+  <components>
+    <matchers default="lm">
+      <matcher name="lm" 
                 src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
-        </matchers>
-        <actions default="RecursiveDirectoryTraversalAction">
-            <action name="RecursiveDirectoryTraversalAction" 
+    </matchers>
+    <actions default="RecursiveDirectoryTraversalAction">
+      <action name="RecursiveDirectoryTraversalAction" 
                 src="org.apache.forrest.dispatcher.acting.RecursiveDirectoryTraversalAction"/>
-            <action name="resourceTypeAction" 
+      <action name="resourceTypeAction" 
                 src="org.apache.forrest.dispatcher.acting.ResourceTypeAction"/>
-            <action logger="sitemap.action.sourcetype" name="sourcetype" 
+      <action logger="sitemap.action.sourcetype" name="sourcetype" 
                 src="org.apache.forrest.sourcetype.SourceTypeAction">
-                <sourcetype name="document-v10">
-                    <document-declaration 
+        <sourcetype name="document-v10">
+          <document-declaration 
                         public-id="-//APACHE//DTD Documentation V1.0//EN" />
-                </sourcetype>
-                <sourcetype name="howto-v10">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="howto-v10">
+          <document-declaration 
                         public-id="-//APACHE//DTD How-to V1.0//EN" />
-                </sourcetype>
-                <sourcetype name="todo-v10">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="todo-v10">
+          <document-declaration 
                         public-id="-//APACHE//DTD Todo V1.0//EN" />
-                </sourcetype>
-                <sourcetype name="changes-v10">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="changes-v10">
+          <document-declaration 
                         public-id="-//APACHE//DTD Changes V1.0//EN" />
-                </sourcetype>
-                <sourcetype name="document-v11">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="document-v11">
+          <document-declaration 
                         public-id="-//APACHE//DTD Documentation V1.1//EN" />
-                </sourcetype>
-                <sourcetype name="howto-v11">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="howto-v11">
+          <document-declaration 
                         public-id="-//APACHE//DTD How-to V1.1//EN" />
-                </sourcetype>
-                <sourcetype name="todo-v11">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="todo-v11">
+          <document-declaration 
                         public-id="-//APACHE//DTD Todo V1.1//EN" />
-                </sourcetype>
-                <sourcetype name="changes-v11">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="changes-v11">
+          <document-declaration 
                         public-id="-//APACHE//DTD Changes V1.1//EN" />
-                </sourcetype>
-                <sourcetype name="todo-v12">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="todo-v12">
+          <document-declaration 
                         public-id="-//APACHE//DTD Todo V1.2//EN" />
-                </sourcetype>
-                <sourcetype name="changes-v12">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="changes-v12">
+          <document-declaration 
                         public-id="-//APACHE//DTD Changes V1.2//EN" />
-                </sourcetype>
-                <sourcetype name="howto-v12">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="howto-v12">
+          <document-declaration 
                         public-id="-//APACHE//DTD How-to V1.2//EN" />
-                </sourcetype>
-                <sourcetype name="todo-v13">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="todo-v13">
+          <document-declaration 
                         public-id="-//APACHE//DTD Todo V1.3//EN" />
-                </sourcetype>
-                <sourcetype name="changes-v13">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="changes-v13">
+          <document-declaration 
                         public-id="-//APACHE//DTD Changes V1.3//EN" />
-                </sourcetype>
-                <sourcetype name="howto-v13">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="howto-v13">
+          <document-declaration 
                         public-id="-//APACHE//DTD How-to V1.3//EN" />
-                </sourcetype>
-                <sourcetype name="document-v20a">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="document-v20a">
+          <document-declaration 
                         public-id="-//APACHE//DTD Documentation V2.0a//EN" />
-                </sourcetype>
-                <sourcetype name="document-v20">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="document-v20">
+          <document-declaration 
                         public-id="-//APACHE//DTD Documentation V2.0//EN" />
-                </sourcetype>
-                <sourcetype name="todo-v20">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="todo-v20">
+          <document-declaration 
                         public-id="-//APACHE//DTD Todo V2.0//EN" />
-                </sourcetype>
-                <sourcetype name="changes-v20">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="changes-v20">
+          <document-declaration 
                         public-id="-//APACHE//DTD Changes V2.0//EN" />
-                </sourcetype>
-                <sourcetype name="howto-v20">
-                    <document-declaration 
+        </sourcetype>
+        <sourcetype name="howto-v20">
+          <document-declaration 
                         public-id="-//APACHE//DTD How-to V2.0//EN" />
-                </sourcetype>
-            </action>
-        </actions>
-        <selectors default="exists">
-            <selector name="exists" logger="sitemap.selector.exists" 
+        </sourcetype>
+      </action>
+    </actions>
+    <selectors default="exists">
+      <selector name="exists" logger="sitemap.selector.exists" 
                 src="org.apache.forrest.sourceexists.SourceExistsSelector" />
-        </selectors>
-    </components>
-    <locator>
-      <match pattern="transform.project.text">
-        <location
+    </selectors>
+  </components>
+  <locator>
+    <match pattern="transform.project.text">
+      <location
           src="{lm:dispatcher.home}/resources/stylesheets/project-to-text.xsl"/>
-      </match>
-        <!-- Base location of the project themes-->
-        <match pattern="themer.project.dir">
-          <location src="{properties:resources}/themes" />
-        </match> 
-        <!-- Base location of the builded dispatcher plugin-->
-        <match pattern="dispatcher.home">
-          <location src="{properties:forrest.plugins}/{properties:dispatcher.home}" />
-        </match> 
-        <!-- Base location of the builded themer plugin-->
-        <match pattern="dispatcher.themer">
-          <location src="{properties:forrest.plugins}/{properties:dispatcher.themer}" />
-        </match>
-        <!-- xhtml2 to html core transformation -->
-        <match pattern="transform.xhtml2.html.structurer">
-          <location 
+    </match>
+<!-- Base location of the project themes-->
+    <match pattern="themer.project.dir">
+      <location src="{properties:resources}/themes" />
+    </match>
+<!-- Base location of the builded dispatcher plugin-->
+    <match pattern="dispatcher.home">
+      <location src="{properties:forrest.plugins}/{properties:dispatcher.home}" />
+    </match>
+<!-- Base location of the builded themer plugin-->
+    <match pattern="dispatcher.themer">
+      <location src="{properties:forrest.plugins}/{properties:dispatcher.themer}" />
+    </match>
+<!-- xhtml2 to html core transformation -->
+    <match pattern="transform.xhtml2.html.structurer">
+      <location 
             src="{lm:dispatcher.home}/resources/stylesheets/html/xhtml2_to_html.xsl" 
             />
-        </match>
-        <!-- resource types -->
-        <match pattern="dispatcher.structurer.resourceType.**">
-            <select>
-                <location 
+    </match>
+<!-- resource types -->
+    <match pattern="dispatcher.structurer.resourceType.**">
+      <select>
+        <location 
                     src="{properties:resources}/structurer/resource-types/{1}{properties:dispatcher.theme-ext}" 
                     />
-                <location 
+        <location 
                     src="{lm:dispatcher.themer}/structurer/resource-types/{1}{properties:dispatcher.theme-ext}" 
                     />
-            </select>
-        </match>
-        <!-- 
+      </select>
+    </match>
+<!-- 
       FIXME - Problem with the pattern
       ********************************
       We have encountered a strange problem with the pattern 'resolve.structurer.**'.
@@ -177,278 +177,276 @@
       1) {properties:dispatcher.theme}{properties:dispatcher.theme-ext}
       2) {properties:dispatcher.fallback.theme}{properties:dispatcher.fallback.theme-ext}
       -->
-        <match pattern="resolve.structurer.**">
-            <select type="exists">
-                <!-- project-based 
+    <match pattern="resolve.structurer.**">
+      <select type="exists">
+<!-- project-based 
           url-based (url location) -->
-                <location 
+        <location 
                     src="{properties:resources}/structurer/url/{1}{properties:dispatcher.theme-ext}" 
                     />
-                <!-- project-based 
+<!-- project-based 
           url-based (xdocs location)  [depreciated]-->
-                <location 
+        <location 
                     src="{properties:content.xdocs}{1}{properties:dispatcher.theme-ext}" />
-                <act type="sourcetype" 
+        <act type="sourcetype" 
                     src="{properties:content.xdocs}{1}.xml">
-                    <!-- Sourcetype based 
+<!-- Sourcetype based 
           http://forrest.apache.org/docs/cap.html-->
-                    <location 
+          <location 
                         src="lm://dispatcher.structurer.resourceType.{sourcetype}" 
                         />
-                </act>
-                <act type="resourceTypeAction">
-                    <parameter value="{../1}{1}" name="request"/>
-                    <parameter value="{properties:content.xdocs}" 
+        </act>
+        <act type="resourceTypeAction">
+          <parameter value="{../1}{1}" name="request"/>
+          <parameter value="{properties:content.xdocs}" 
                         name="projectDir"/>
-                    <parameter value="lm://dispatcher.structurer.resourceType." 
+          <parameter value="lm://dispatcher.structurer.resourceType." 
                         name="resourceTypeBase"/>
-                    <parameter value=".xml.meta" name="metaExtension"/>
-                    <parameter value="resourceType" name="resourceTypeElement"/>
-                    <parameter 
+          <parameter value=".xml.meta" name="metaExtension"/>
+          <parameter value="resourceType" name="resourceTypeElement"/>
+          <parameter 
                         value="http://apache.org/cocoon/lenya/page-envelope/1.0" 
                         name="resourceTypeElementNS"/>
-                    <!--  Meta data based -->
-                    <location src="{uri}" />
-                </act>
-                <act type="RecursiveDirectoryTraversalAction">
-                    <parameter value="{../1}{1}" name="request"/>
-                    <parameter value="{properties:dispatcher.theme}" name="projectFallback"/>
-                    <parameter value="{properties:dispatcher.theme-ext}" 
+<!--  Meta data based -->
+          <location src="{uri}" />
+        </act>
+        <act type="RecursiveDirectoryTraversalAction">
+          <parameter value="{../1}{1}" name="request"/>
+          <parameter value="{properties:dispatcher.theme}" name="projectFallback"/>
+          <parameter value="{properties:dispatcher.theme-ext}" 
                         name="projectExtension"/>
-                    <parameter value="{properties:resources}structurer/url/" 
+          <parameter value="{properties:resources}structurer/url/" 
                         name="projectDir"/>
-                    <!--  url
+<!--  url
             project-based theme-based = directory-based / parent-directory based (recursively) -->
-                    <location src="{uri}" />
-                </act>
-                <act type="RecursiveDirectoryTraversalAction">
-                    <parameter value="{../1}{1}" name="request"/>
-                    <parameter value="{properties:dispatcher.theme}" name="projectFallback"/>
-                    <parameter value="{properties:dispatcher.theme-ext}" 
+          <location src="{uri}" />
+        </act>
+        <act type="RecursiveDirectoryTraversalAction">
+          <parameter value="{../1}{1}" name="request"/>
+          <parameter value="{properties:dispatcher.theme}" name="projectFallback"/>
+          <parameter value="{properties:dispatcher.theme-ext}" 
                         name="projectExtension"/>
-                    <parameter value="{properties:content.xdocs}" 
+          <parameter value="{properties:content.xdocs}" 
                         name="projectDir"/>
-                    <!--  xdocs  [depreciated]
+<!--  xdocs  [depreciated]
             project-based theme-based = directory-based / parent-directory based (recursively) -->
-                    <location src="{uri}" />
-                </act>
-                <!-- themes-dir: project-application-based theme-dir-based -->
-                <location 
+          <location src="{uri}" />
+        </act>
+<!-- themes-dir: project-application-based theme-dir-based -->
+        <location 
                     src="{lm:themer.project.dir}/{properties:dispatcher.theme}{properties:dispatcher.theme-ext}" 
                     />
-                <!-- themes-dir: project-application-based default -->
-                <location 
+<!-- themes-dir: project-application-based default -->
+        <location 
                     src="{lm:themer.project.dir}/{properties:dispatcher.fallback.theme}{properties:dispatcher.fallback.theme-ext}" 
                     />
-                <!-- themer: forrest-application-based theme-based -->
-                <location 
+<!-- themer: forrest-application-based theme-based -->
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.theme}{properties:dispatcher.theme-ext}" 
                     />
-                <!-- themer: forrest-application-based default -->
-                <location 
+<!-- themer: forrest-application-based default -->
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}{properties:dispatcher.fallback.theme-ext}" 
                     />
-            </select>
-        </match>
-        <!-- Structurer panels - You can group elements to a template and call it from any view. -->
-        <match pattern="resolve.panels.**">
-            <select type="exists">
-                <location 
+      </select>
+    </match>
+<!-- Structurer panels - You can group elements to a template and call it from any view. -->
+    <match pattern="resolve.panels.**">
+      <select type="exists">
+        <location 
                     src="{properties:resources}/themes/{properties:dispatcher.theme}/panels/{1}.panel.xml" 
                     />
-                <location 
+        <location 
                     src="{properties:resources}/themes/{properties:dispatcher.fallback.theme}/panels/{1}.panel.xml" 
                     />
-                <!--  plugin provided panels -->
-                <location src="{lm:resolvePluginPanels.{1}}" />
-                <location 
+<!--  plugin provided panels -->
+        <location src="{lm:resolvePluginPanels.{1}}" />
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.theme}/panels/{1}.panel.xml" 
                     />
-                <location 
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/panels/{1}.panel.xml" 
                     />
-            </select>
-        </match>
-        <!-- Some input need to be striped by their root element. -->
-        <match pattern="root-strip.xsl">
-            <select type="exists">
-                <location 
+      </select>
+    </match>
+<!-- Some input need to be striped by their root element. -->
+    <match pattern="root-strip.xsl">
+      <select type="exists">
+        <location 
                     src="{lm:dispatcher.home}/resources/stylesheets/root-strip.xsl" 
                     />
-            </select>
-        </match>
-        <!-- Next coming from themer -->
-        <!-- Project implementation of templates have priority before default ones.
+      </select>
+    </match>
+<!-- Next coming from themer -->
+<!-- Project implementation of templates have priority before default ones.
         If no implementation can be found we use the noFt (~ - no forrest:template) implementation.  
        {1} name of the contract -->
-        <match pattern="resolve.contract.*.**">
-            <select type="exists">
-                <!-- project-based theme -->
-                <location 
+    <match pattern="resolve.contract.*.**">
+      <select type="exists">
+<!-- project-based theme -->
+        <location 
                     src="{lm:themer.project.dir}/{properties:dispatcher.theme}/{1}/{2}.ft" />
-                <!-- project-based default fallback -->
-                <location 
+<!-- project-based default fallback -->
+        <location 
                     src="{lm:themer.project.dir}/{properties:dispatcher.fallback.theme}/{1}/{2}.ft" />
-                <!--  plugin provided contracts -->
-                <location src="{lm:resolvePluginContract.{1}.{2}}" />
-                <!-- forrest-application-based theme -->
-                <location 
+<!--  plugin provided contracts -->
+        <location src="{lm:resolvePluginContract.{1}.{2}}" />
+<!-- forrest-application-based theme -->
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.theme}/{1}/{2}.ft" />
-                <!--  forrest-application-based default fallback -->
-                <location 
+<!--  forrest-application-based default fallback -->
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/{1}/{2}.ft" 
                     />
-                <!--  forrest-application-based no found -->
-                <location 
+<!--  forrest-application-based no found -->
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/{1}/noFt.ft" 
                     />
-            </select>
-        </match>
-
-        <!-- dataModel -->
-        <!-- A project can to supersede the standard <format>-to-<format>.xsl file to add specific feature.
+      </select>
+    </match>
+<!-- dataModel -->
+<!-- A project can to supersede the standard <format>-to-<format>.xsl file to add specific feature.
              to include the standard in the new stylesheet, just import the standard stylesheet has follows :
                 <xsl:import href="lm://std-dataModel-xml-document-to-<format>.xsl"/>
              or <xsl:import href="lm://std-dataModel-html-<format>-to-<format>.xsl"/>
         -->
-        <match pattern="dataModel-xml-document-to-**.xsl">
-            <select type="exists">
-                <location 
+    <match pattern="dataModel-xml-document-to-**.xsl">
+      <select type="exists">
+        <location 
                     src="{properties:resources}stylesheets/xslt/xml/document-to-{1}.xsl" 
                     />
-                <location 
+        <location 
                     src="{lm:std-dataModel-xml-document-to-{1}.xsl}" 
                     />
-            </select>
-        </match>
-        <match pattern="dataModel-html-**.xsl">
-            <select type="exists">
-                <location 
+      </select>
+    </match>
+    <match pattern="dataModel-html-**.xsl">
+      <select type="exists">
+        <location 
                     src="{properties:resources}stylesheets/xslt/html/{1}.xsl" 
                     />
-                <location 
+        <location 
                     src="{lm:std-dataModel-html-{1}.xsl}" 
                     />
-            </select>
-        </match>
-        <match pattern="std-dataModel-html-**.xsl">
-            <select type="exists">
-                <location 
+      </select>
+    </match>
+    <match pattern="std-dataModel-html-**.xsl">
+      <select type="exists">
+        <location 
                     src="{lm:dispatcher.home}/resources/stylesheets/html/{1}.xsl" 
                     />
-            </select>
-        </match>
-        <match pattern="std-dataModel-xml-document-to-**.xsl">
-            <select type="exists">
-                <location 
+      </select>
+    </match>
+    <match pattern="std-dataModel-xml-document-to-**.xsl">
+      <select type="exists">
+        <location 
                     src="{lm:dispatcher.home}/resources/stylesheets/xml/document-to-{1}.xsl" 
                     />
-            </select>
-        </match>
-
-        <!-- contracts have to be striped to their stylesheet for aggregation. -->
-        <match pattern="contract-strip-xsl.xsl">
-            <select type="exists">
-                <location 
+      </select>
+    </match>
+<!-- contracts have to be striped to their stylesheet for aggregation. -->
+    <match pattern="contract-strip-xsl.xsl">
+      <select type="exists">
+        <location 
                     src="{lm:dispatcher.home}/resources/stylesheets/contract-strip-xsl.xsl" 
                     />
-            </select>
-        </match>
-        <match pattern="hooks-to-**.xsl">
-            <select type="exists">
-                <location 
+      </select>
+    </match>
+    <match pattern="hooks-to-**.xsl">
+      <select type="exists">
+        <location 
                     src="{lm:dispatcher.home}/resources/stylesheets/{1}/hooksMatcher.xsl" 
                     />
-             </select>
-        </match>
-        <match pattern="strip-dispatcher-remains-**.xsl">
-            <select type="exists">
-                <location 
+      </select>
+    </match>
+    <match pattern="strip-dispatcher-remains-**.xsl">
+      <select type="exists">
+        <location 
                     src="{lm:dispatcher.home}/resources/stylesheets/{1}/strip-dispatcher-remains.xsl" 
                     />
-            </select>
-        </match>
-        <!-- contracts (e.g. html) that can be used in the project. -->
-        <match pattern="ls.contracts.xsl">
-          <location 
+      </select>
+    </match>
+<!-- contracts (e.g. html) that can be used in the project. -->
+    <match pattern="ls.contracts.xsl">
+      <location 
             src="{lm:dispatcher.home}/resources/stylesheets/ls.contracts.xsl" />
-        </match>
-        <match pattern="ls.contracts-to-document.xsl">
-          <location 
+    </match>
+    <match pattern="ls.contracts-to-document.xsl">
+      <location 
             src="{lm:dispatcher.home}/resources/stylesheets/ls.contracts-to-document.xsl" 
             />
-        </match>
-        <!--Theme dir-->
-        <match pattern="themer.project.dir">
-            <select type="exists">
-                <location src="{properties:resources}themes"/>
-                <!-- v1 location -->
-                <location src="{properties:resources}templates" />
-            </select>
-        </match>
-        <!-- contracts (e.g. html) that can be used in the project. -->
-        <match pattern="themer.contracts.dir">
-          <location src="{lm:dispatcher.themer}/themes" />
-        </match>
-        <!-- generic match for theme image resources -->
-        <!-- 
+    </match>
+<!--Theme dir-->
+    <match pattern="themer.project.dir">
+      <select type="exists">
+        <location src="{properties:resources}themes"/>
+<!-- v1 location -->
+        <location src="{properties:resources}templates" />
+      </select>
+    </match>
+<!-- contracts (e.g. html) that can be used in the project. -->
+    <match pattern="themer.contracts.dir">
+      <location src="{lm:dispatcher.themer}/themes" />
+    </match>
+<!-- generic match for theme image resources -->
+<!-- 
       {1} name
       {2} extension (note we assume e.g. {1}.gif)
       -->
-        <match pattern="themes/images/**.*">
-            <select type="exists">
-                <location 
+    <match pattern="themes/images/**.*">
+      <select type="exists">
+        <location 
                     src="{lm:themer.project.dir}/{properties:dispatcher.theme}/images/{1}.{2}" 
                     />
-                <location 
+        <location 
                     src="{lm:themer.project.dir}/{properties:dispatcher.fallback.theme}/images/{1}.{2}" 
                     />
-                <location 
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.theme}/images/{1}.{2}" 
                     />
-                <location 
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/images/{1}.{2}" 
                     />
-            </select>
-        </match>
-        <!-- generic match for theme resources like css and js. -->
-        <!-- 
+      </select>
+    </match>
+<!-- generic match for theme resources like css and js. -->
+<!-- 
       {1} name
       {2} extension (note we assume e.g. PATH/css/{1}.css)
       -->
-        <match pattern="themes/**.*">
-            <select type="exists">
-                <location 
+    <match pattern="themes/**.*">
+      <select type="exists">
+        <location 
                     src="{lm:themer.project.dir}/{properties:dispatcher.theme}/{2}/{1}.{2}" />
-                <location 
+        <location 
                     src="{lm:themer.project.dir}/{properties:dispatcher.fallback.theme}/{2}/{1}.{2}" 
                     />
-              <!--  plugin provided contracts -->
-                <location src="{lm:resolvePluginThemes.{2}.{1}}" />
-                <location 
+<!--  plugin provided contracts -->
+        <location src="{lm:resolvePluginThemes.{2}.{1}}" />
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.theme}/{2}/{1}.{2}" 
                     />
-                <location 
+        <location 
                     src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/{2}/{1}.{2}" 
                     />
-            </select>
-        </match>
-        <!--  Extracts the style sheet from the contract.  -->
-        <match pattern="contract-strip-xsl.xsl">
-          <location 
+      </select>
+    </match>
+<!--  Extracts the style sheet from the contract.  -->
+    <match pattern="contract-strip-xsl.xsl">
+      <location 
             src="{lm:dispatcher.home}/resources/stylesheets/helper/contract-strip-xsl.xsl" 
             />
-        </match>
-        <match pattern="transform.xml.variable.helper">
-          <location 
+    </match>
+    <match pattern="transform.xml.variable.helper">
+      <location 
             src="{lm:dispatcher.home}/resources/stylesheets/helper/variable.helper.xsl" 
             />
-        </match>
-        <!-- Id generation -->
-        <match pattern="generateId.xsl">
-          <location 
+    </match>
+<!-- Id generation -->
+    <match pattern="generateId.xsl">
+      <location 
             src="{lm:dispatcher.home}/resources/stylesheets/helper/generateId.xsl" 
             />
-        </match>
-    </locator>
+    </match>
+  </locator>
 </locationmap>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/ls.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/ls.xmap?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/ls.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/ls.xmap Mon Apr  9 22:33:31 2007
@@ -37,7 +37,7 @@
     <map:serializers default="xml" />
   </map:components>
   <map:pipelines>
-    <!-- ls.contracts 
+<!-- ls.contracts 
       list the default contracts-->
     <map:pipeline>
       <map:match pattern="ls.contracts.source.xml">
@@ -49,8 +49,7 @@
         </map:generate>
         <map:transform src="{lm:ls.contracts.xsl}" />
         <map:serialize />
-      </map:match>      
-      
+      </map:match>
       <map:match pattern="ls.contracts.**.plugin.**.source.xml">
         <map:generate src="{forrest:forrest.plugins}/{1}.plugin.{2}/resources/themes" type="xpathdirectory">
           <map:parameter name="xpath" value="/*" />
@@ -61,7 +60,6 @@
         <map:transform src="{lm:ls.contracts.xsl}" />
         <map:serialize type="xml-document"/>
       </map:match>
-      
       <map:match pattern="ls.contracts.project.source.xml">
         <map:generate src="{lm:themer.project.dir}" type="xpathdirectory">
           <map:parameter name="xpath" value="/*" />
@@ -76,14 +74,12 @@
         <map:generate src="cocoon:/ls.contracts.source.xml" />
         <map:transform src="{lm:ls.contracts-to-document.xsl}" />
         <map:serialize />
-      </map:match>      
-      
+      </map:match>
       <map:match pattern="ls.contracts.**.plugin.**.xml">
         <map:generate src="cocoon:/ls.contracts.{1}.plugin.{2}.source.xml" />
         <map:transform src="{lm:ls.contracts-to-document.xsl}" />
         <map:serialize />
       </map:match>
-      
       <map:match pattern="ls.contracts.project.xml">
         <map:generate src="cocoon:/ls.contracts.project.source.xml" />
         <map:transform src="{lm:ls.contracts-to-document.xsl}" />
@@ -121,4 +117,4 @@
       </map:match>
     </map:pipeline>
   </map:pipelines>
-</map:sitemap>
\ No newline at end of file
+</map:sitemap>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/css/forrest.css.xslt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/css/forrest.css.xslt?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/css/forrest.css.xslt (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/css/forrest.css.xslt Mon Apr  9 22:33:31 2007
@@ -16,26 +16,22 @@
   limitations under the License.
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-  <!-- 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"  />
-
 <!--
   If the skin doesn't override this, at least aural styles 
   and extra-css are present 
 -->
   <xsl:template match="skinconfig">
-
-   <xsl:call-template name="aural"/>
-   <xsl:call-template name="a-external"/>
-   <xsl:apply-templates/>
-   <xsl:call-template name="add-extra-css"/>
+    <xsl:call-template name="aural"/>
+    <xsl:call-template name="a-external"/>
+    <xsl:apply-templates/>
+    <xsl:call-template name="add-extra-css"/>
   </xsl:template>
-
   <xsl:template match="colors">
-   <xsl:apply-templates/>
+    <xsl:apply-templates/>
   </xsl:template>
-  
   <xsl:template name="aural">
 
 /* ==================== aural ============================ */
@@ -64,7 +60,6 @@
   :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
 }
   </xsl:template>
-  
   <xsl:template name="a-external">
 a.external  {
   padding: 0 20px 0px 0px;
@@ -74,13 +69,10 @@
 	background-image: url(images/external-link.gif);
 }
   </xsl:template>
-  
   <xsl:template name="add-extra-css">
-    <xsl:text>/* extra-css */</xsl:text>
+<xsl:text>/* extra-css */</xsl:text>
     <xsl:value-of select="extra-css"/>
   </xsl:template>
-  
   <xsl:template match="*"></xsl:template>
   <xsl:template match="text()"></xsl:template>
-
 </xsl:stylesheet>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/corner-imports.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/corner-imports.svg.xslt?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/corner-imports.svg.xslt (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/corner-imports.svg.xslt Mon Apr  9 22:33:31 2007
@@ -16,81 +16,77 @@
   limitations under the License.
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
-    <xsl:param name="orientation-tb"/>
-    <xsl:param name="orientation-lr"/>
-    <xsl:param name="size"/>
-    <xsl:param name="bg-color-name"/>
-    <xsl:param name="stroke-color-name"/>
-    <xsl:param name="fg-color-name"/>    
-
-   <!-- if not all colors are present, don't even try to render the corners -->
-    <xsl:variable name="isize"><xsl:choose>
-    	<xsl:when test="$bg-color-name and $stroke-color-name and $fg-color-name"><xsl:value-of select="$size"/></xsl:when>
-    	<xsl:otherwise>0</xsl:otherwise>
-    </xsl:choose></xsl:variable>
-    <xsl:variable name="smallersize" select="number($isize)-1"/>
-    <xsl:variable name="biggersize" select="number($isize)+1"/>     
-    <xsl:variable name="bg"><xsl:if test="skinconfig/colors/color[@name=$bg-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$bg-color-name]/@value"/>;</xsl:if></xsl:variable>
-    <xsl:variable name="fill"><xsl:if test="skinconfig/colors/color[@name=$stroke-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$stroke-color-name]/@value"/>;</xsl:if></xsl:variable>
-    <xsl:variable name="stroke"><xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of select="skinconfig/colors/color[@name=$fg-color-name]/@value"/>;</xsl:if></xsl:variable>
-        
-	<xsl:template match="skinconfig">
-
-        	
-
-<svg width="{$isize}" height="{$isize}">
-    <!-- background-->
-    <rect x="-1" y="-1" width="{$biggersize}" height="{$biggersize}" style="{$bg}stroke-width:0"/>
+  <xsl:param name="orientation-tb"/>
+  <xsl:param name="orientation-lr"/>
+  <xsl:param name="size"/>
+  <xsl:param name="bg-color-name"/>
+  <xsl:param name="stroke-color-name"/>
+  <xsl:param name="fg-color-name"/>
+<!-- if not all colors are present, don't even try to render the corners -->
+  <xsl:variable name="isize">
+    <xsl:choose>
+      <xsl:when test="$bg-color-name and $stroke-color-name and $fg-color-name">
+        <xsl:value-of select="$size"/>
+      </xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="smallersize" select="number($isize)-1"/>
+  <xsl:variable name="biggersize" select="number($isize)+1"/>
+  <xsl:variable name="bg">
+    <xsl:if test="skinconfig/colors/color[@name=$bg-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$bg-color-name]/@value"/>;</xsl:if>
+  </xsl:variable>
+  <xsl:variable name="fill">
+    <xsl:if test="skinconfig/colors/color[@name=$stroke-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$stroke-color-name]/@value"/>;</xsl:if>
+  </xsl:variable>
+  <xsl:variable name="stroke">
+    <xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of select="skinconfig/colors/color[@name=$fg-color-name]/@value"/>;</xsl:if>
+  </xsl:variable>
+  <xsl:template match="skinconfig">
+    <svg width="{$isize}" height="{$isize}">
+<!-- background-->
+      <rect x="-1" y="-1" width="{$biggersize}" height="{$biggersize}" style="{$bg}stroke-width:0"/>
 <!-- 0,0 0,-4 4,0 4,-4-->
-
-    <xsl:variable name="flip-tb-scale">
-      <xsl:choose>
-    	<xsl:when test="$orientation-tb='t'">1</xsl:when>
-    	<xsl:otherwise>-1</xsl:otherwise>
-      </xsl:choose>
-    </xsl:variable>
-
-    <xsl:variable name="flip-lr-scale">
-      <xsl:choose>
-    	<xsl:when test="$orientation-lr='l'">1</xsl:when>
-    	<xsl:otherwise>-1</xsl:otherwise>
-      </xsl:choose>
-    </xsl:variable>
-    
-    <xsl:variable name="flip-tb-translate">
-      <xsl:choose>
-    	<xsl:when test="$orientation-tb='t'">0</xsl:when>
-    	<xsl:otherwise>-<xsl:value-of select="$isize" /></xsl:otherwise>
-      </xsl:choose>
-    </xsl:variable>
-
-    <xsl:variable name="flip-lr-translate">
-      <xsl:choose>
-    	<xsl:when test="$orientation-lr='l'">0</xsl:when>
-    	<xsl:otherwise>-<xsl:value-of select="$isize" /></xsl:otherwise>
-      </xsl:choose>
-    </xsl:variable>    
-    
-    <!-- flip transform -->
-    <g transform="scale({$flip-lr-scale},{$flip-tb-scale}) translate({$flip-lr-translate}, {$flip-tb-translate})"> 
-      <xsl:call-template name="figure" />
-    </g>
-</svg>
-</xsl:template>
-
-        
+      <xsl:variable name="flip-tb-scale">
+        <xsl:choose>
+          <xsl:when test="$orientation-tb='t'">1</xsl:when>
+          <xsl:otherwise>-1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:variable name="flip-lr-scale">
+        <xsl:choose>
+          <xsl:when test="$orientation-lr='l'">1</xsl:when>
+          <xsl:otherwise>-1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:variable name="flip-tb-translate">
+        <xsl:choose>
+          <xsl:when test="$orientation-tb='t'">0</xsl:when>
+          <xsl:otherwise>-<xsl:value-of select="$isize" />
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:variable name="flip-lr-translate">
+        <xsl:choose>
+          <xsl:when test="$orientation-lr='l'">0</xsl:when>
+          <xsl:otherwise>-<xsl:value-of select="$isize" />
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+<!-- flip transform -->
+      <g transform="scale({$flip-lr-scale},{$flip-tb-scale}) translate({$flip-lr-translate}, {$flip-tb-translate})">
+        <xsl:call-template name="figure" />
+      </g>
+    </svg>
+  </xsl:template>
   <xsl:template name="figure">
-       <!-- Just change shape here -->     
-		<g transform="translate(0.5 0.5)">
-			<ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
+<!-- Just change shape here -->
+    <g transform="translate(0.5 0.5)">
+      <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
 				 style="{$fill}{$stroke}stroke-width:1"/>
-		</g>
-	   <!-- end -->	
+    </g>
+<!-- end -->
   </xsl:template>
-    
-  
   <xsl:template match="*"></xsl:template>
   <xsl:template match="text()"></xsl:template>
-  
 </xsl:stylesheet>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/dc.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/dc.svg.xslt?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/dc.svg.xslt (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/dc.svg.xslt Mon Apr  9 22:33:31 2007
@@ -17,15 +17,12 @@
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:import href="corner-imports.svg.xslt" />
-  
-  <!-- Diagonal 45 degrees corner -->
+<!-- Diagonal 45 degrees corner -->
   <xsl:template name="figure">
-        <xsl:variable name="biggersize" select="number($size)+number($size)"/>     
-		<g transform="translate(0 0.5)">
-           <polygon points="0,{$size} {$size},0 {$biggersize},0 {$biggersize},{$biggersize} 0,{$biggersize}"
+    <xsl:variable name="biggersize" select="number($size)+number($size)"/>
+    <g transform="translate(0 0.5)">
+      <polygon points="0,{$size} {$size},0 {$biggersize},0 {$biggersize},{$biggersize} 0,{$biggersize}"
                     style="{$fill}{$stroke}stroke-width:1"/>
-		</g>
+    </g>
   </xsl:template>
-      
 </xsl:stylesheet>
-

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/poddoc.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/poddoc.svg.xslt?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/poddoc.svg.xslt (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/poddoc.svg.xslt Mon Apr  9 22:33:31 2007
@@ -30,13 +30,11 @@
        gradientUnits="objectBoundingBox" spreadMethod="pad" />
     <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
   </defs>
-
   <g transform="scale(0.08)">
     <g transform="translate(40, 0)">
       <rect width="230" height="300" x="0" y="0"
             style="fill:url(#pageshade);fill-rule:evenodd;
             stroke:#000000;stroke-width:1.25;"/>
-
       <g transform="translate(15, 60)">
         <use xlink:href="#hr" x="0" y="0"/>
         <use xlink:href="#hr" x="0" y="60"/>
@@ -44,7 +42,6 @@
         <use xlink:href="#hr" x="0" y="180"/>
       </g>
     </g>
-
     <g transform="translate(0,70),scale(1.1,1.6)">
       <rect width="200" height="100" x="0" y="0"
          style="fill:#ff0000;fill-rule:evenodd;

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/rc.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/rc.svg.xslt?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/rc.svg.xslt (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/rc.svg.xslt Mon Apr  9 22:33:31 2007
@@ -17,14 +17,11 @@
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:import href="corner-imports.svg.xslt" />
-
-  <!-- Rounded corner -->
+<!-- Rounded corner -->
   <xsl:template name="figure">
-		<g transform="translate(0.5 0.5)">
-			<ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
+    <g transform="translate(0.5 0.5)">
+      <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
 				 style="{$fill}{$stroke}stroke-width:1"/>
-		</g>
+    </g>
   </xsl:template>
-      
 </xsl:stylesheet>
-

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/txtdoc.svg.xslt
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/txtdoc.svg.xslt?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/txtdoc.svg.xslt (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/images/txtdoc.svg.xslt Mon Apr  9 22:33:31 2007
@@ -30,13 +30,11 @@
        gradientUnits="objectBoundingBox" spreadMethod="pad" />
     <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
   </defs>
-
   <g transform="scale(0.08)">
     <g transform="translate(40, 0)">
       <rect width="230" height="300" x="0" y="0"
             style="fill:url(#pageshade);fill-rule:evenodd;
             stroke:#000000;stroke-width:1.25;"/>
-
       <g transform="translate(15, 60)">
         <use xlink:href="#hr" x="0" y="0"/>
         <use xlink:href="#hr" x="0" y="60"/>
@@ -44,7 +42,6 @@
         <use xlink:href="#hr" x="0" y="180"/>
       </g>
     </g>
-
     <g transform="translate(0,70),scale(1.1,1.6)">
       <rect width="200" height="100" x="0" y="0"
          style="fill:#ff0000;fill-rule:evenodd;

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/skinconf.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/skinconf.xsl?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/skinconf.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/skinconf.xsl Mon Apr  9 22:33:31 2007
@@ -16,40 +16,39 @@
   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)">
-       <disable-print-link>true</disable-print-link>
-     </xsl:if>
-     <xsl:if test="not(disable-pdf-link)">
-       <disable-pdf-link>true</disable-pdf-link>
-     </xsl:if>
-     <xsl:if test="not(disable-txt-link)">
-       <disable-txt-link>true</disable-txt-link>
-     </xsl:if>
-     <xsl:if test="not(disable-pod-link)">
-       <disable-pod-link>true</disable-pod-link>
-     </xsl:if>
-     <xsl:if test="not(disable-xml-link)">
-       <disable-xml-link>true</disable-xml-link>
-     </xsl:if>
-     <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)">
-       <disable-compliance-links>false</disable-compliance-links>
-     </xsl:if>
-     <xsl:if test="not(obfuscate-mail-links)">
-       <obfuscate-mail-links>true</obfuscate-mail-links>
-     </xsl:if>
-     <xsl:if test="not(obfuscate-mail-value)">
-       <obfuscate-mail-value>.at.</obfuscate-mail-value>
-     </xsl:if>
-     <xsl:if test="not(disable-font-script)">
-       <disable-font-script>true</disable-font-script>
-     </xsl:if>
-     <!--
+  <xsl:template match="skinconfig">
+    <xsl:copy>
+      <xsl:if test="not(disable-print-link)">
+        <disable-print-link>true</disable-print-link>
+      </xsl:if>
+      <xsl:if test="not(disable-pdf-link)">
+        <disable-pdf-link>true</disable-pdf-link>
+      </xsl:if>
+      <xsl:if test="not(disable-txt-link)">
+        <disable-txt-link>true</disable-txt-link>
+      </xsl:if>
+      <xsl:if test="not(disable-pod-link)">
+        <disable-pod-link>true</disable-pod-link>
+      </xsl:if>
+      <xsl:if test="not(disable-xml-link)">
+        <disable-xml-link>true</disable-xml-link>
+      </xsl:if>
+      <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)">
+        <disable-compliance-links>false</disable-compliance-links>
+      </xsl:if>
+      <xsl:if test="not(obfuscate-mail-links)">
+        <obfuscate-mail-links>true</obfuscate-mail-links>
+      </xsl:if>
+      <xsl:if test="not(obfuscate-mail-value)">
+        <obfuscate-mail-value>.at.</obfuscate-mail-value>
+      </xsl:if>
+      <xsl:if test="not(disable-font-script)">
+        <disable-font-script>true</disable-font-script>
+      </xsl:if>
+<!--
      <xsl:if test="not(project-name)">
        <project-name>MyProject</project-name>
      </xsl:if>
@@ -87,27 +86,26 @@
        <vendor>The Acme Software Foundation.</vendor>
      </xsl:if>
      -->
-     <xsl:if test="not(trail)">
-       <trail>
-         <link1 name="" href=""/>
-         <link2 name="" href=""/>
-         <link3 name="" href=""/>
-       </trail>
-			</xsl:if>
-      
+      <xsl:if test="not(trail)">
+        <trail>
+          <link1 name="" href=""/>
+          <link2 name="" href=""/>
+          <link3 name="" href=""/>
+        </trail>
+      </xsl:if>
       <xsl:if test="not(toc)">
-         <toc level="2" location="page"/>
+        <toc level="2" location="page"/>
+      </xsl:if>
+      <xsl:if test="not(pdf/page-numbering-format)">
+        <pdf>
+          <page-numbering-format>Page 1</page-numbering-format>
+        </pdf>
+      </xsl:if>
+      <xsl:if test="not(pdf/show-external-urls)">
+        <pdf>
+          <show-external-urls>true</show-external-urls>
+        </pdf>
       </xsl:if>
-
-    <xsl:if test="not(pdf/page-numbering-format)">
-        <pdf><page-numbering-format>Page 1</page-numbering-format></pdf>
-    </xsl:if>
-
-    <xsl:if test="not(pdf/show-external-urls)">
-        <pdf><show-external-urls>true</show-external-urls></pdf>
-    </xsl:if>
-
-
 <!--
   <xsl:if test="not(colors)">
   <colors>
@@ -142,32 +140,29 @@
   </colors>
   </xsl:if>
 -->
-
-  <xsl:if test="not(extra-css)">
-    <extra-css/>
-  </xsl:if>
-  <xsl:if test="not(credits)">
-   <credits>
-    <credit>
-      <name>Built with Apache Forrest</name>
-      <url>http://forrest.apache.org/</url>
-      <image>images/built-with-forrest-button.png</image>
-      <width>88</width>
-      <height>31</height>
-    </credit>
-    <!-- A credit with @role='pdf' will have its name and url displayed in the
+      <xsl:if test="not(extra-css)">
+        <extra-css/>
+      </xsl:if>
+      <xsl:if test="not(credits)">
+        <credits>
+          <credit>
+            <name>Built with Apache Forrest</name>
+            <url>http://forrest.apache.org/</url>
+            <image>images/built-with-forrest-button.png</image>
+            <width>88</width>
+            <height>31</height>
+          </credit>
+<!-- A credit with @role='pdf' will have its name and url displayed in the
     PDF page's footer. -->
-  </credits>
-  </xsl:if>
-
+        </credits>
+      </xsl:if>
       <xsl:copy-of select="@*"/>
       <xsl:copy-of select="node()"/>
-      <!--
+<!--
       <xsl:copy-of select="node()[not(name(.)='colors')]"/>
       <xsl:apply-templates select="colors"/>-->
-     </xsl:copy>
-
-    </xsl:template>
+    </xsl:copy>
+  </xsl:template>
 <!--
     <xsl:template match="colors">
     <colors>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/translations/CommonMessages_es.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/translations/CommonMessages_es.xml?view=diff&rev=527037&r1=527036&r2=527037
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/translations/CommonMessages_es.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources/stylesheets/common/translations/CommonMessages_es.xml Mon Apr  9 22:33:31 2007
@@ -21,4 +21,3 @@
   <message key="Search">Buscar</message>
   <message key="Search the site with">Buscar en</message>
 </catalogue>
-



Mime
View raw message