forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r527038 [14/15] - in /forrest/trunk/whiteboard/plugins: ./ org.apache.forrest.plugin.Database/ org.apache.forrest.plugin.Database/resources/stylesheets/ org.apache.forrest.plugin.Database/src/documentation/ org.apache.forrest.plugin.Databas...
Date Tue, 10 Apr 2007 05:45:31 GMT
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/index.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/index.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/index.xml Mon Apr  9 22:45:15 2007
@@ -16,27 +16,31 @@
   limitations under the License.
 -->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-<document> 
-  <header> 
-    <title>Welcome to the org.apache.forrest.plugin.output.solr Plugin</title> 
-  </header> 
-  <body> 
+<document>
+  <header>
+    <title>Welcome to the org.apache.forrest.plugin.output.solr Plugin</title>
+  </header>
+  <body>
     <section id="overview">
       <title>Apache Forrest - org.apache.forrest.plugin.output.solr Plugin</title>
-      <p> Generates
-        <a href="ext:solr">solr</a> documents from xdos. Further when run with the
-        dispatcher in static mode it allows you to update a Solr server with the content of your
-        website at the same time you generate the site ( solr-add contract). In dynamic mode
-        (as servlet) it provides a GUI to manage your project in solr ( solr-actionbar
-        contract ) and a search interface ( solr-search contract) to search your solr server.
-        </p>
+      <p>
+        Generates <a href="ext:solr">solr</a> documents from xdos. Further when
+        run with the dispatcher in static mode it allows you to update a Solr
+        server with the content of your website at the same time you generate
+        the site ( solr-add contract). In dynamic mode (as servlet) it provides
+        a GUI to manage your project in solr ( solr-actionbar contract ) and a
+        search interface ( solr-search contract) to search your solr server.
+      </p>
     </section>
     <section id="dispatcher">
       <title>Dispatcher activation</title>
-      <p>You can see some
-        <a href="/screenshots.html">screenshots</a> and activate the different
-        contracts by using following snippets. Explanation given within xml comments.</p>
-      <source><![CDATA[    <!-- default plugin CSS -->
+      <p>
+        You can see some <a href="/screenshots.html">screenshots</a> and
+        activate the different contracts by using following snippets.
+        Explanation given within xml comments.
+      </p>
+      <source>
+<![CDATA[    <!-- default plugin CSS -->
     <forrest:contract name="branding-css-links">
       <forrest:property name="branding-css-links-input">
         <css url="solr.css" media="screen" theme="Pelt"/>
@@ -80,58 +84,70 @@
           </forrest:contract>
         </forrest:hook>
       </jx:if>
-    </forrest:hook>]]> </source> 
-      <p>You can as well use the above aggregated to a tiles, like:</p>
-      <source><![CDATA[<jx:import uri="cocoon://prepare.panels.solrbar"/>]]></source>
+    </forrest:hook>]]>
+      </source>
+      <p>
+        You can as well use the above aggregated to a tiles, like:
+      </p>
+      <source>
+<![CDATA[<jx:import uri="cocoon://prepare.panels.solrbar"/>]]>
+      </source>
     </section>
     <section id="solr">
       <title>Solr activation</title>
-      <p>The host server urls can be configured by adding the following properties to your
-        project forrest.properties.xml in case you do not use the default values.</p>
-      <source><![CDATA[<property name="solr.select.url" value="http://localhost:8983/solr/select"/>
-<property name="solr.update.url" value="http://localhost:8983/solr/update"/>]]></source>
-      <p>In your solr server add the following field definitions to the schema.xml. We assume
-        "id" is already set as "uniqueKey" and you changed the "defaultSearchField" to
-        "content" otherwise you need to prefix your queries.</p>
-      <source><![CDATA[<field name="content" type="text" indexed="true" stored="true" />
+      <p>
+        The host server urls can be configured by adding the following
+        properties to your project forrest.properties.xml in case you do not use
+        the default values.
+      </p>
+      <source>
+<![CDATA[<property name="solr.select.url" value="http://localhost:8983/solr/select"/>
+<property name="solr.update.url" value="http://localhost:8983/solr/update"/>]]>
+      </source>
+      <p>
+        In your solr server add the following field definitions to the
+        schema.xml. We assume "id" is already set as "uniqueKey" and you changed
+        the "defaultSearchField" to "content" otherwise you need to prefix your
+        queries.
+      </p>
+      <source>
+<![CDATA[<field name="content" type="text" indexed="true" stored="true" />
 <field name="title" type="text" indexed="true" stored="true"/>
 <field name="subtitle" type="text" indexed="true" stored="true"/>
 <field name="abstract" type="text" indexed="true" stored="true"/>
 <field name="version" type="text" indexed="true" stored="true"/>
-<field name="author" type="text" indexed="true" stored="true" multiValued="true"/>]]> </source>
+<field name="author" type="text" indexed="true" stored="true" multiValued="true"/>]]>
+      </source>
     </section>
     <section id="samples">
       <title>Samples</title>
-      <p>This section includes links to a number of samples using this plugin. The plugin is
-        intended to be self documenting through these samples. If you require further help
-        please ask on the user mailing list.</p>
-      
+      <p>
+        This section includes links to a number of samples using this plugin.
+        The plugin is intended to be self documenting through these samples. If
+        you require further help please ask on the user mailing list.
+      </p>
       <ul>
-        <li>
-          <a href="index.solr">index.solr</a> - the xdocs-to-solrDoc.xsl
+        <li><a href="index.solr">index.solr</a> - the xdocs-to-solrDoc.xsl
           transforms xdocs to solr docs.</li>
-        <li>
-          <a href="index.solr.add">index.solr.add</a> - surround the solr docs with an
+        <li><a href="index.solr.add">index.solr.add</a> - surround the solr docs with an
           add statement.</li>
-        <li>
-          <a href="index.solr.delete">index.solr.delete</a> - surround the solr docs id with a
+        <li><a href="index.solr.delete">index.solr.delete</a> - surround the solr docs id with a
           delete statement.</li>
-        <li>
-          <a href="solr.commit">solr.commit</a> - commit statement for solr.
+        <li><a href="solr.commit">solr.commit</a> - commit statement for solr.
         </li>
-        <li>
-          <a href="solr.optimize">solr.optimize</a> - optimize statement for solr.
+        <li><a href="solr.optimize">solr.optimize</a> - optimize statement for solr.
         </li>
-        <li>
-          <a href="index-creation.solr.add">index-creation.solr.add</a> - is
+        <li><a href="index-creation.solr.add">index-creation.solr.add</a> - is
           generating and adding an "add" statement for solr with the whole site as solr docs as
           input. This will index your whole project if you add ".do.html" to the url.</li>
       </ul>
-      <p>Aboves pages suffixed with
-        <code>.do.html</code> will trigger the underlying statment on the solr server. We
-        do not link them in this document since the links would be crawled. This is as well the
-        reason why the gui is deactivated. Each the gui would trigger the delete,
-        add, commit and optimze statement against the solr server for every page.</p>
+      <p>
+        Aboves pages suffixed with <code>.do.html</code> will trigger the
+        underlying statment on the solr server. We do not link them in this
+        document since the links would be crawled. This is as well the reason
+        why the gui is deactivated. Each the gui would trigger the delete, add,
+        commit and optimze statement against the solr server for every page.
+      </p>
     </section>
   </body>
 </document>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/screenshots.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/screenshots.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/screenshots.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/screenshots.xml Mon Apr  9 22:45:15 2007
@@ -16,22 +16,28 @@
   limitations under the License.
 -->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-<document> 
-  <header> 
-    <title>solr screenshots</title> 
-  </header> 
-  <body> 
+<document>
+  <header>
+    <title>solr screenshots</title>
+  </header>
+  <body>
     <section id="gui-actionbar">
       <title>solr dispatcher gui - solr-actionbar contract</title>
-      <p><img src="images/gui-actionbar.png" alt="gui"/> </p>
+      <p>
+        <img src="images/gui-actionbar.png" alt="gui"/>
+      </p>
     </section>
     <section id="gui-search">
       <title>solr dispatcher gui - solr-search contract</title>
-      <p><img src="images/gui-search.png" alt="gui"/> </p>
+      <p>
+        <img src="images/gui-search.png" alt="gui"/>
+      </p>
     </section>
     <section id="search">
       <title>solr search results</title>
-      <p><img src="images/result.png" alt="gui"/> </p>
+      <p>
+        <img src="images/result.png" alt="gui"/>
+      </p>
     </section>
   </body>
 </document>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/site.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/site.xml Mon Apr  9 22:45:15 2007
@@ -15,7 +15,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <!--
 Forrest site.xml
 
@@ -29,9 +28,7 @@
 
 See http://forrest.apache.org/docs/linking.html for more info
 -->
-
 <site label="org.apache.forrest.plugin.output.solr" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
-
   <about label="About">
     <index label="Index" href="index.html" description="Welcome to org.apache.forrest.plugin.output.solr"/>
     <screenshots label="Screenshots" href="screenshots.html" description="screenshots of org.apache.forrest.plugin.output.solr"/>
@@ -39,15 +36,13 @@
     <changes label="Changes" href="changes.html" description="History of Changes" />
     <todo label="Todo" href="todo.html" description="Todo List" />
   </about>
-
-  <!--
+<!--
   The href must be wholesite.html/pdf  You can change the labels and node names
   <all label="All">
     <whole_site_html label="Whole Site HTML" href="wholesite.html"/>
     <whole_site_pdf label="Whole Site PDF" href="wholesite.pdf"/>
   </all>
   -->
-
   <external-refs>
     <forrest href="http://forrest.apache.org/">
       <linking href="docs/linking.html"/>
@@ -60,5 +55,4 @@
       <solr-tutorial href="tutorial.html"/>
     </solr>
   </external-refs>
-
 </site>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/tabs.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/tabs.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/content/xdocs/tabs.xml Mon Apr  9 22:45:15 2007
@@ -16,13 +16,11 @@
   limitations under the License.
 -->
 <!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
-
 <tabs software="MyProj"
   title="MyProj"
   copyright="Foo"
   xmlns:xlink="http://www.w3.org/1999/xlink">
-
-  <!-- The rules for tabs are:
+<!-- The rules for tabs are:
     @dir will always have '/@indexfile' added.
     @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
     @href is not modified unless it is root-relative and obviously specifies a
@@ -32,12 +30,10 @@
    Tabs can be embedded to a depth of two. The second level of tabs will only 
     be displayed when their parent tab is selected.    
   -->
-
   <tab id="plugins" label="Forrest Plugins" href="http://forrest.apache.org/pluginDocs" indexfile="index.html"/>
   <tab id="" label="Plugin Home" dir="" indexfile="index.html"/>
-  <!-- Add new tabs here, eg:
+<!-- Add new tabs here, eg:
   <tab label="How-Tos" dir="community/howto/"/>
   <tab label="XML Site" dir="xml-site/"/>
   -->
-
 </tabs>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/resources/structurer/url/pelt.fv
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/resources/structurer/url/pelt.fv?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/resources/structurer/url/pelt.fv (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/resources/structurer/url/pelt.fv Mon Apr  9 22:45:15 2007
@@ -17,7 +17,7 @@
 -->
 <forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0"
   xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
-  <!-- The following variables are used to contact data models and/or contracts. -->
+<!-- The following variables are used to contact data models and/or contracts. -->
   <jx:set var="getRequest" value="#{$cocoon/parameters/getRequest}"/>
   <jx:set var="getRequestExtension"
     value="#{$cocoon/parameters/getRequestExtension}"/>
@@ -25,11 +25,11 @@
   <forrest:view type="fo" hooksXpath="/">
     <jx:import uri="cocoon://prepare.tiles.common-fo"/>
   </forrest:view>
-  <!-- CSS View of the request e.g. index.dispatcher.css -->
+<!-- CSS View of the request e.g. index.dispatcher.css -->
   <forrest:view type="css" hooksXpath="/">
     <jx:import uri="cocoon://prepare.tiles.pelt-css"/>
   </forrest:view>
-  <!-- HTML View of the request (e.g. index.html)-->
+<!-- HTML View of the request (e.g. index.html)-->
   <forrest:view type="html" hooksXpath="/html/body">
     <jx:import uri="cocoon://prepare.tiles.solrbar"/>
     <jx:import uri="cocoon://prepare.tiles.pelt-html"/>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/skinconf.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/skinconf.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/src/documentation/skinconf.xml Mon Apr  9 22:45:15 2007
@@ -15,16 +15,13 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.7-1//EN" "http://forrest.apache.org/dtd/skinconfig-v07-1.dtd"
 [
   <!ENTITY skinconf-common PUBLIC "-//Apache Forrest//ENTITIES Skin Configuration common plugins V0.7-1//EN" "">
 ]>
-
 <skinconfig>
   &skinconf-common;
 
   <project-name>Plugin: org.apache.forrest.plugin.output.solr</project-name>
   <project-description>org.apache.forrest.plugin.output.solr plugin for Apache Forrest</project-description>
-
 </skinconfig>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/status.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/status.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/status.xml Mon Apr  9 22:45:15 2007
@@ -16,28 +16,25 @@
   limitations under the License.
 -->
 <status>
-
   <developers>
-    <!-- Add new developers here -->
+<!-- Add new developers here -->
     <person name="Thorsten Scherler" email="thorsten@apache.org" id="TS"/>
     <person name="Volunteer needed" email="dev@forrest.apache.org" id="open"/>
   </developers>
-
-  <!-- Define here the Title of the Context you want to display in the Changes pages.
+<!-- Define here the Title of the Context you want to display in the Changes pages.
        id = the context value of actions
        title = Title of the Context
-  -->  
+  -->
   <contexts>
-   <!-- Add new contexts here -->
-   <context id="code" title="Changes to the Code Base"/>
-   <context id="docs" title="Changes to Documentation"/>
-   <context id="admin" title="Changes to Project Administration"/>
-   <context id="design" title="Changes to Design"/>
-   <context id="build" title="Changes to Build"/>
-  </contexts> 
-
+<!-- Add new contexts here -->
+    <context id="code" title="Changes to the Code Base"/>
+    <context id="docs" title="Changes to Documentation"/>
+    <context id="admin" title="Changes to Project Administration"/>
+    <context id="design" title="Changes to Design"/>
+    <context id="build" title="Changes to Build"/>
+  </contexts>
   <changes>
-    <!-- Add new releases here -->
+<!-- Add new releases here -->
     <release version="0.1" date="not-released">
       <action dev="TS" type="add" context="admin">
         Initial plugin code.
@@ -60,7 +57,6 @@
       </action>
     </release>
   </changes>
-
   <todo>
     <actions priority="high">
       <action context="docs" dev="open">
@@ -69,5 +65,4 @@
       </action>
     </actions>
   </todo>
-
 </status>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/build.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/build.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/build.xml Mon Apr  9 22:45:15 2007
@@ -25,10 +25,8 @@
   <property name="websiteURL" value="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.voice"/>
   <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">
@@ -39,5 +37,3 @@
   </target>
   -->
 </project>
-  
-  

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/output.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/output.xmap?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/output.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/output.xmap Mon Apr  9 22:45:15 2007
@@ -18,7 +18,7 @@
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
   <map:pipelines>
     <map:pipeline>
-      <!-- Voice -->
+<!-- Voice -->
       <map:match type="regexp" pattern="^(.*?)([^/]*).mxml$">
         <map:generate src="cocoon://{1}{2}.xml"/>
         <map:transform src="resources/stylesheets/document-to-mxml.xsl"/>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/resources/stylesheets/document-to-mxml.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/resources/stylesheets/document-to-mxml.xsl?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/resources/stylesheets/document-to-mxml.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/resources/stylesheets/document-to-mxml.xsl Mon Apr  9 22:45:15 2007
@@ -16,12 +16,10 @@
   limitations under the License.
 -->
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:vxml="http://www.w3.org/2001/vxml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xv="http://www.voicexml.org/2002/xhtml+voice" xml:lang="en-US">
-
   <xsl:template name="voiceNavigation">
     <vxml:form id="main">
       <vxml:var name="activeSection"/>
       <vxml:var name="navigateDir"/>
-
       <vxml:block>
         <xsl:for-each select="//section[position() > 1]">
           <vxml:assign expr="true">
@@ -31,7 +29,6 @@
           </vxml:assign>
         </xsl:for-each>
       </vxml:block>
-
       <xsl:for-each select="//section">
         <vxml:field>
           <xsl:attribute name="name">
@@ -43,7 +40,6 @@
             <vxml:break/>
             <xsl:apply-templates/>
           </vxml:prompt>
-
           <vxml:filled>
             <vxml:assign name="activeSection">
               <xsl:attribute name="expr">
@@ -57,7 +53,6 @@
             </vxml:assign>
             <vxml:throw event="navigate.simple"/>
           </vxml:filled>
-
           <vxml:catch event="noinput">
             <vxml:assign expr="true">
               <xsl:attribute name="name">
@@ -74,14 +69,14 @@
           </vxml:catch>
         </vxml:field>
       </xsl:for-each>
-
       <vxml:field name="navigate_wait_for_good_index">
         <vxml:grammar type="application/srgs">
           #ABNF 1.0;
           language en-us;
           mode voice;
           root $command;
-          private $number = 1<xsl:for-each select="//section[position() > 1]"> | <xsl:value-of select="position()+1"/></xsl:for-each>;
+          private $number = 1<xsl:for-each select="//section[position() > 1]"> | <xsl:value-of select="position()+1"/>
+          </xsl:for-each>;
           public $command = $number {$ = $$};
         </vxml:grammar>
         <vxml:prompt timeout="5s">
@@ -96,64 +91,55 @@
         </vxml:catch>
         <vxml:catch event="help nomatch noinput" count="2"/>
       </vxml:field>
-
       <vxml:catch event="navigate.simple">
         <vxml:if cond="navigateDir == 'next'">
           <vxml:assign name="activeSection" expr="activeSection + 1"/>
-        <vxml:elseif cond="navigateDir == 'back'"/>
+          <vxml:elseif cond="navigateDir == 'back'"/>
           <vxml:assign name="activeSection" expr="activeSection - 1"/>
-        <vxml:else/>
+          <vxml:else/>
           <vxml:assign name="activeSection" expr="navigateDir"/>
         </vxml:if>
-
         <vxml:if>
-          <xsl:attribute name="cond">activeSection &lt;= 0 || activeSection &gt;<xsl:value-of select="count(//section)"/></xsl:attribute>
+          <xsl:attribute name="cond">activeSection &lt;= 0 || activeSection &gt;<xsl:value-of select="count(//section)"/>
+          </xsl:attribute>
           Index <vxml:value expr="activeSection"/> is out of range.
           <vxml:clear namelist="navigate_wait_for_good_index"/>
           <xsl:for-each select="//section">
             <vxml:elseif>
-              <xsl:attribute name="cond">activeSection == <xsl:value-of select="position()"/></xsl:attribute>
+              <xsl:attribute name="cond">activeSection == <xsl:value-of select="position()"/>
+              </xsl:attribute>
             </vxml:elseif>
-              <vxml:clear>
-                <xsl:attribute name="namelist">
-                  <xsl:value-of select="@id"/>
-                </xsl:attribute>
-              </vxml:clear>
+            <vxml:clear>
+              <xsl:attribute name="namelist">
+                <xsl:value-of select="@id"/>
+              </xsl:attribute>
+            </vxml:clear>
           </xsl:for-each>
         </vxml:if>
       </vxml:catch>
     </vxml:form>
   </xsl:template>
-
   <xsl:template match="title"/>
-
   <xsl:template match="p">
     <xsl:value-of select="."/>
     <vxml:break/>
   </xsl:template>
-
   <xsl:template match="/">
     <xsl:apply-templates select="//document"/>
   </xsl:template>
-
   <xsl:template match="document">
     <html>
       <head>
         <xsl:apply-templates select="//header"/>
         <xsl:apply-templates select="//body"/>
       </head>
-      <body ev:event="load" ev:handler="#main">
-
-      </body>
+      <body ev:event="load" ev:handler="#main"></body>
     </html>
   </xsl:template>
-
   <xsl:template match="header">
     <title><xsl:value-of select="title"/></title>
   </xsl:template>
-
   <xsl:template match="body">
     <xsl:call-template name="voiceNavigation"/>
   </xsl:template>
-
 </xsl:stylesheet>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/index.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/index.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/index.xml Mon Apr  9 22:45:15 2007
@@ -23,43 +23,62 @@
   <body>
     <section id="overview">
       <title>Overview</title>
-      <p>This plugin will allow to read site content by computer voice and navigate throug it via speech.
-      At this early stage of development, this plugin will work only for very simple site with non-structured sections.</p>
-      <p>See <a href="http://marc.theaimsgroup.com/?t=112056193400004">initial proposal</a>
-      and other discussion on dev mailing list around July 2005.
+      <p>
+        This plugin will allow to read site content by computer voice and
+        navigate throug it via speech. At this early stage of development, this
+        plugin will work only for very simple site with non-structured sections.
+      </p>
+      <p>
+        See <a href="http://marc.theaimsgroup.com/?t=112056193400004">initial
+        proposal</a> and other discussion on dev mailing list around July 2005.
       </p>
     </section>
-
     <section id="requirements">
       <title>Requirements</title>
-      <p>You should have browser which supports X+V technology. I can recommend 
-      <a href="ext:opera">Opera</a>, I think it's the best solution for now.
-      After you download it you should enable voice in options by selecting 
-      "tools -> preferences -> advanced tab -> voice (left navigation) -> check Enable voice options", 
-      this will download voice libraries. Then you are able to process
-      <code>.mxml</code> files</p>
-      <p>More information on how to install <a href="ext:opera/voice">voice support in opera</a>.</p>
-      <warning>Opera with Voice is currently not available for Linux.</warning>
-      <note>Important: You can use this plugin only in dynamic mode (forrest run).</note>
+      <p>
+        You should have browser which supports X+V technology. I can recommend
+        <a href="ext:opera">Opera</a>, I think it's the best solution for now.
+        After you download it you should enable voice in options by selecting
+        "tools -> preferences -> advanced tab -> voice (left navigation) ->
+        check Enable voice options", this will download voice libraries. Then
+        you are able to process <code>.mxml</code> files
+      </p>
+      <p>
+        More information on how to install <a href="ext:opera/voice">voice
+        support in opera</a>.
+      </p>
+      <warning>
+        Opera with Voice is currently not available for Linux.
+      </warning>
+      <note>
+        Important: You can use this plugin only in dynamic mode (forrest run).
+      </note>
     </section>
-
     <section id="usage">
       <title>Usage</title>
-      <p>Currently, there is no visual output at all. After loading <code>.mxml</code> file the browser will start reading 
-      the first section. <a href="index.mxml">Try it by reading this file</a>.</p> 
-      
-      <p>You can interrupt reading by pressing "Print Screen" key.
-      Once you have interupted reading you can issue a voice command as follows:</p>
+      <p>
+        Currently, there is no visual output at all. After loading
+        <code>.mxml</code> file the browser will start reading the first
+        section. <a href="index.mxml">Try it by reading this file</a>.
+      </p>
+      <p>
+        You can interrupt reading by pressing "Print Screen" key. Once you have
+        interupted reading you can issue a voice command as follows:
+      </p>
       <ul>
         <li><em>go to next</em> - skip to next section</li>
         <li><em>go back</em> - skip to previos section</li>
         <li>a number - skip to section with specific number</li>
       </ul>
-      <p>If you don't interrupt voice output, the reading will automatically continue to next section after 2 seconds.
-      If you say a bad number (out of range), you will be prompted for correct one.</p>
-      <p>That is all for now...</p>
+      <p>
+        If you don't interrupt voice output, the reading will automatically
+        continue to next section after 2 seconds. If you say a bad number (out
+        of range), you will be prompted for correct one.
+      </p>
+      <p>
+        That is all for now...
+      </p>
     </section>
-
     <section id="samples">
       <title>Samples</title>
       <ul>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/site.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/site.xml Mon Apr  9 22:45:15 2007
@@ -15,7 +15,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <!--
 Forrest site.xml
 
@@ -29,24 +28,20 @@
 
 See http://forrest.apache.org/docs/linking.html for more info
 -->
-
 <site label="org.apache.forrest.plugin.output.voice" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
-
   <about label="About">
     <index label="Index" href="index.html" description="Welcome to org.apache.forrest.plugin.output.voice"/>
     <forrestPlugins label="Plugins Index" href="site:forrest/plugins" description="Index of Forrest Plugins"/>
     <changes label="Changes" href="changes.html" description="History of Changes" />
     <todo label="Todo" href="todo.html" description="Todo List" />
   </about>
-
-  <!--
+<!--
   The href must be wholesite.html/pdf  You can change the labels and node names
   <all label="All">
     <whole_site_html label="Whole Site HTML" href="wholesite.html"/>
     <whole_site_pdf label="Whole Site PDF" href="wholesite.pdf"/>
   </all>
   -->
-
   <external-refs>
     <forrest href="http://forrest.apache.org/">
       <linking href="docs/linking.html"/>
@@ -59,5 +54,4 @@
       <voice href="voice/index.dml"/>
     </opera>
   </external-refs>
-
 </site>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/tabs.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/tabs.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/tabs.xml Mon Apr  9 22:45:15 2007
@@ -16,13 +16,11 @@
   limitations under the License.
 -->
 <!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
-
 <tabs software="MyProj"
   title="MyProj"
   copyright="Foo"
   xmlns:xlink="http://www.w3.org/1999/xlink">
-
-  <!-- The rules for tabs are:
+<!-- The rules for tabs are:
     @dir will always have '/@indexfile' added.
     @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
     @href is not modified unless it is root-relative and obviously specifies a
@@ -32,12 +30,10 @@
    Tabs can be embedded to a depth of two. The second level of tabs will only 
     be displayed when their parent tab is selected.    
   -->
-
   <tab id="plugins" label="Forrest Plugins" href="http://forrest.apache.org/pluginDocs" indexfile="index.html"/>
   <tab id="" label="Plugin Home" dir="" indexfile="index.html"/>
-  <!-- Add new tabs here, eg:
+<!-- Add new tabs here, eg:
   <tab label="How-Tos" dir="community/howto/"/>
   <tab label="XML Site" dir="xml-site/"/>
   -->
-
 </tabs>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/voice.fv
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/voice.fv?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/voice.fv (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/content/xdocs/voice.fv Mon Apr  9 22:45:15 2007
@@ -15,17 +15,17 @@
 See the License for the specific language governing permissions and
 limitations under the License.
 -->
-
 <forrest:views xmlns:forrest="http://apache.org/forrest/templates/1.0"
 	xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
   <jx:set var="getRequest" value="#{$cocoon/parameters/getRequest}"/>
   <jx:set var="getRequestExtension" value="#{$cocoon/parameters/getRequestExtension}" />
-  <forrest:view type="html" hooksXpath="/html/body"><!-- Was type="xhtml" -->
+  <forrest:view type="html" hooksXpath="/html/body">
+<!-- Was type="xhtml" -->
     <forrest:contract name="branding-css-links">
-      <!-- More information around this contract
+<!-- More information around this contract
         http://marc.theaimsgroup.com/?l=forrest-dev&m=113473237805195&w=2
         -->
-      <!--Note: The forrest:properties element does not exit anymore (in comparison to a previous versions) -->
+<!--Note: The forrest:properties element does not exit anymore (in comparison to a previous versions) -->
       <forrest:property name="branding-css-links-input">
         <css url="common.css"/>
       </forrest:property>
@@ -33,74 +33,74 @@
     <forrest:contract name="voice-markup"/>
     <forrest:contract name="siteinfo-meta" datauri="lm://project.build-info">
       <forrest:property name="custom">
-         <meta http-equiv="content-type" content="text/html, charset=UTF-8"/>
- </forrest:property>
+        <meta http-equiv="content-type" content="text/html, charset=UTF-8"/>
+      </forrest:property>
     </forrest:contract>
     <forrest:hook name="container">
       <forrest:hook name="header">
-          <forrest:contract name="branding-tagline">
-              <forrest:property name="branding-tagline-name">VoiceXML Plugin</forrest:property>
-              <forrest:property name="branding-tagline-tagline">Your computer Reads and Listens</forrest:property>
-          </forrest:contract> 
-        </forrest:hook>
-              <forrest:hook name="nav-main-hook">
-                <!--forrest:contract name="nav-main"/-->
-              	<!--<forrest:contract name="nav-main-sub"/>-->
-              </forrest:hook>
+        <forrest:contract name="branding-tagline">
+          <forrest:property name="branding-tagline-name">VoiceXML Plugin</forrest:property>
+          <forrest:property name="branding-tagline-tagline">Your computer Reads and Listens</forrest:property>
+        </forrest:contract>
+      </forrest:hook>
+      <forrest:hook name="nav-main-hook">
+<!--forrest:contract name="nav-main"/-->
+<!--<forrest:contract name="nav-main-sub"/>-->
       </forrest:hook>
-      <forrest:hook name="page">
-        <forrest:hook name="leftbar">
-	  <forrest:contract name="nav-section" 
+    </forrest:hook>
+    <forrest:hook name="page">
+      <forrest:hook name="leftbar">
+        <forrest:contract name="nav-section" 
             dataURI="cocoon://#{$getRequest}.navigation.xml">
-            <forrest:property name="nav-section-toc" nugget="get.tov">
-              <jx:import 
+          <forrest:property name="nav-section-toc" nugget="get.tov">
+            <jx:import 
                 uri="cocoon://#{$cocoon/parameters/getRequest}.toc.xml"/>
-            </forrest:property>
-            <forrest:property name="expanding">true</forrest:property>
-            <!--<forrest:property name="toc" max-depth="2"/>-->
-          </forrest:contract>
-	  <forrest:contract name="search-input">
-            <forrest:property name="input-size">18</forrest:property>
-            <forrest:property name="search-input">
-              <search name="MyProject" domain="mydomain" provider="google"/>
-            </forrest:property>
-    </forrest:contract>
-        </forrest:hook>
-        <forrest:hook name="content">
-          <!-- FIXME - Problem with ndeSetTextSize() script from fontsize.js not compliant between Pelt and Leather-dev... -->
-          <!-- <forrest:hook class="trail">
+          </forrest:property>
+          <forrest:property name="expanding">true</forrest:property>
+<!--<forrest:property name="toc" max-depth="2"/>-->
+        </forrest:contract>
+        <forrest:contract name="search-input">
+          <forrest:property name="input-size">18</forrest:property>
+          <forrest:property name="search-input">
+            <search name="MyProject" domain="mydomain" provider="google"/>
+          </forrest:property>
+        </forrest:contract>
+      </forrest:hook>
+      <forrest:hook name="content">
+<!-- FIXME - Problem with ndeSetTextSize() script from fontsize.js not compliant between Pelt and Leather-dev... -->
+<!-- <forrest:hook class="trail">
             <forrest:contract name="branding-fontsize"/>
     </forrest:hook>-->
-          <forrest:contract name="content-title" 
+        <forrest:contract name="content-title" 
             dataURI="cocoon://#{$getRequest}.title.xml"/>
-          <forrest:contract name="content-abstract" 
+        <forrest:contract name="content-abstract" 
             dataURI="cocoon://#{$getRequest}.abstract.xml"/>
-          <forrest:contract name="content-minitoc" 
+        <forrest:contract name="content-minitoc" 
             dataURI="cocoon://#{$getRequest}.toc.xml">
-            <forrest:property name="content-minitoc-conf" max-depth="2" 
+          <forrest:property name="content-minitoc-conf" max-depth="2" 
               min-sections="1" location="page"/>
-          </forrest:contract>
-          <forrest:contract name="content-main" 
+        </forrest:contract>
+        <forrest:contract name="content-main" 
             dataURI="cocoon://#{$getRequest}.body.xml">
-            <forrest:property name="content-main-conf">
-              <headings type="underlined"/>
-            </forrest:property>
-          </forrest:contract>
-  </forrest:hook>
+          <forrest:property name="content-main-conf">
+            <headings type="underlined"/>
+          </forrest:property>
+        </forrest:contract>
       </forrest:hook>
-      <!--</forrest:hook>-->
+    </forrest:hook>
+<!--</forrest:hook>-->
     <forrest:hook name="footer">
-	<forrest:contract name="siteinfo-feedback">
-            <forrest:property name="siteinfo-feedback">
-              <feedback to="the Webmaster"
+      <forrest:contract name="siteinfo-feedback">
+        <forrest:property name="siteinfo-feedback">
+          <feedback to="the Webmaster"
                 href="mailto:webmaster@foo.com?subject=Feedback&#160;" >
                 Send feedback about the website to:
               </feedback>
-            </forrest:property>
-  </forrest:contract>
-        <forrest:hook class="lastmodified">
-          <forrest:contract name="siteinfo-last-published"/>
-        </forrest:hook>
+        </forrest:property>
+      </forrest:contract>
+      <forrest:hook class="lastmodified">
+        <forrest:contract name="siteinfo-last-published"/>
+      </forrest:hook>
     </forrest:hook>
   </forrest:view>
 </forrest:views>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/skinconf.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/skinconf.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/src/documentation/skinconf.xml Mon Apr  9 22:45:15 2007
@@ -15,16 +15,13 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <!DOCTYPE skinconfig PUBLIC "-//APACHE//DTD Skin Configuration V0.7-1//EN" "http://forrest.apache.org/dtd/skinconfig-v07-1.dtd"
 [
   <!ENTITY skinconf-common PUBLIC "-//Apache Forrest//ENTITIES Skin Configuration common plugins V0.7-1//EN" "">
 ]>
-
 <skinconfig>
   &skinconf-common;
 
   <project-name>Plugin: voice output</project-name>
   <project-description>org.apache.forrest.plugin.output.voice plugin for Apache Forrest</project-description>
-
 </skinconfig>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/status.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/status.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/status.xml Mon Apr  9 22:45:15 2007
@@ -16,27 +16,24 @@
   limitations under the License.
 -->
 <status>
-
   <developers>
-    <!-- Add new developers here -->
+<!-- Add new developers here -->
     <person name="Volunteer needed" email="dev@forrest.apache.org" id="open"/>
   </developers>
-
-  <!-- Define here the Title of the Context you want to display in the Changes pages.
+<!-- Define here the Title of the Context you want to display in the Changes pages.
        id = the context value of actions
        title = Title of the Context
-  -->  
+  -->
   <contexts>
-   <!-- Add new contexts here -->
-   <context id="code" title="Changes to the Code Base"/>
-   <context id="docs" title="Changes to Documentation"/>
-   <context id="admin" title="Changes to Project Administration"/>
-   <context id="design" title="Changes to Design"/>
-   <context id="build" title="Changes to Build"/>
-  </contexts> 
-
+<!-- Add new contexts here -->
+    <context id="code" title="Changes to the Code Base"/>
+    <context id="docs" title="Changes to Documentation"/>
+    <context id="admin" title="Changes to Project Administration"/>
+    <context id="design" title="Changes to Design"/>
+    <context id="build" title="Changes to Build"/>
+  </contexts>
   <changes>
-    <!-- Add new releases here -->
+<!-- Add new releases here -->
     <release version="0.1" date="unreleased">
       <action dev="HANAX" type="add" context="code">
         Initial plugin code.
@@ -46,7 +43,6 @@
       </action>
     </release>
   </changes>
-
   <todo>
     <actions priority="high">
       <action context="docs" dev="open">
@@ -60,5 +56,4 @@
       </action>
     </actions>
   </todo>
-
 </status>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.voice/templates/voice-markup.ft Mon Apr  9 22:45:15 2007
@@ -18,17 +18,19 @@
 <forrest:contract name="voice-markup" type="nugget"
   xmlns:forrest="http://apache.org/forrest/templates/1.0">
   <description>
-    This functions will output the voiceXML markup for the document.
-    NOTE: This is a placeholder template only - it is not currently functional.
+    This functions will output the voiceXML markup for the document. NOTE: This
+    is a placeholder template only - it is not currently functional.
   </description>
-  <usage><![CDATA[<forrest:contract name="voice-markup"/>]]></usage>
+  <usage>
+<![CDATA[<forrest:contract name="voice-markup"/>]]>
+  </usage>
   <forrest:template
   xmlns:forrest="http://apache.org/forrest/templates/1.0"
   format="xhtml" name="voice-markup" inputFormat="xsl" body="false" head="true">
     <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-		  <xsl:template name="voice-markup-head">
-		    <meta name="voice-generator" content="org.apache.forrest.plugins.output.voice"/>
-		  </xsl:template>
-		</xsl:stylesheet>
-	</forrest:template>
+      <xsl:template name="voice-markup-head">
+        <meta name="voice-generator" content="org.apache.forrest.plugins.output.voice"/>
+      </xsl:template>
+    </xsl:stylesheet>
+  </forrest:template>
 </forrest:contract>

Modified: forrest/trunk/whiteboard/plugins/rtf-output/output.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/rtf-output/output.xmap?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/rtf-output/output.xmap (original)
+++ forrest/trunk/whiteboard/plugins/rtf-output/output.xmap Mon Apr  9 22:45:15 2007
@@ -15,24 +15,20 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-  <!-- ============================================================ -->
-  <!-- Simplified-Docbook Plugin                                    -->
-  <!-- This plugin allows Simplified DocBook files to be            -->
-  <!-- used in a Forrest site                                       -->
-  <!-- ============================================================ -->
-
+<!-- ============================================================ -->
+<!-- Simplified-Docbook Plugin                                    -->
+<!-- This plugin allows Simplified DocBook files to be            -->
+<!-- used in a Forrest site                                       -->
+<!-- ============================================================ -->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-
   <map:components>
     <map:serializers>
       <map:serializer name="fo2rtf" src="org.apache.cocoon.serialization.RTFSerializer" mime-type="application/msword"/>
     </map:serializers>
   </map:components>
-  
   <map:pipelines>
     <map:pipeline internal="true">
-
-      <!-- generate .rtf files from .fo -->
+<!-- generate .rtf files from .fo -->
       <map:match type="regexp" pattern="^(.*?)([^/]*).rtf$">
         <map:generate src="cocoon://{1}{2}.fo"/>
         <map:serialize type="fo2rtf"/>



Mime
View raw message