forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r527038 [11/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.internal.xhtml2/src/documentation/content/xdocs/samples/xhtml2_subset.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/samples/xhtml2_subset.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/samples/xhtml2_subset.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/samples/xhtml2_subset.xml Mon Apr  9 22:45:15 2007
@@ -17,302 +17,431 @@
 -->
 <!--
   Do we need to incorporate this somewhere ?-->
-
-  <?xml-stylesheet type="text/css" 
+<?xml-stylesheet type="text/css" 
                     href="http://www.w3.org/MarkUp/style/xhtml2.css"?>
 <html xmlns="http://www.w3.org/2002/06/xhtml2" xml:lang="en"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.w3.org/2002/06/xhtml2/ http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd"
 >
-  <head> 
+  <head>
     <title>XHTML 2 Template Page</title>
-    <meta property="abstract">A document detailing (almost) all of the existing and new xhtml2 elements.</meta> 
-  </head> 
-  <body> 
-
-  <h>This is an example XHTML 2 Document and uses and XHTML 2 compatible CSS2 Style Sheet.
+    <meta property="abstract">A document detailing (almost) all of the existing and new xhtml2 elements.</meta>
+  </head>
+  <body>
+    <h>This is an example XHTML 2 Document and uses and XHTML 2 compatible CSS2 Style Sheet.
   We Can build on this basic structure. This is an example of the 'h' element.</h>
-<h2>I hope to include many of the new elements and attributes in here as examples.</h2>
-<separator />
-<h3>Example code will be placed inside each section when the CSS and schema works.</h3>
-<h4>I guess we need a page index here somewhere with <em>#links</em></h4>
-<h5><l>Quite a few examples given are taken directly from the <abbr>W3C</abbr> site and possibly</l>
-       <l> to the needs of Forrest. Examples should be tailored for our needs.</l></h5>
-       <h6>We need a 'h6' element , need to apply 'FIXME' or  'ToDo' labels where suitable.</h6>
-<section><h>8 XHTML Structural Module</h>
-<section><h>8.1 Address Element</h>
-<address href="mailto:webmaster@apache.org">Webmaster</address>
-</section>
-<separator />
-<section><h>8.2 Blockcode Element</h>
-<blockcode class="program">
-<l>program p(input, output);</l>
-<l>begin</l>
-<l>   writeln("Hello world");</l>
-<l>end.</l>
-</blockcode>
-</section>
-<separator />
-<section><h>8.3 The Blockquote Element</h>
-<blockquote cite="http://forrest.apache.org/docs_0_80/howto/howto-view-contracts.html">
-<p>By working on the i18n integration for "pelt" we again encountered the reasons 
-for using views. ;-) The maintenance problem was to change the captions of the 
-skin features (contracts) to enable support for i18n. The case is that the 
-site-to-xhtml.xsl has a lot of repeating code.</p>
-</blockquote>
-</section>
-<separator />
-<section><h>8.4 The div element</h>
-<div class="divsample">
-<h>This is a 'h' element inside a div element</h>
-<p>An then end in a paragraph</p>
-</div>
-</section>
-<separator />
-<section><h>8.5 The heading element</h>
-<p>....</p>
-    <h>This is second-level heading</h>
-    <p>....</p>
+    <h2>I hope to include many of the new elements and attributes in here as examples.</h2>
+    <separator />
+    <h3>Example code will be placed inside each section when the CSS and schema works.</h3>
+    <h4>I guess we need a page index here somewhere with <em>#links</em>
+    </h4>
+    <h5>
+      <l>Quite a few examples given are taken directly from the <abbr>W3C</abbr> site and possibly</l>
+      <l> to the needs of Forrest. Examples should be tailored for our needs.</l>
+    </h5>
+    <h6>We need a 'h6' element , need to apply 'FIXME' or  'ToDo' labels where suitable.</h6>
     <section>
-        <h>This is a third-level heading</h>
-        <p>....</p>
-    </section>
-</section>
-<separator />
-<section><h>8.6 The p element</h>
-<p>An easy one, this is the p element</p>
-</section>
-<separator />
-<section><h>8.7 The pre element</h>
-<pre>The pre element preserves
+      <h>8 XHTML Structural Module</h>
+      <section>
+        <h>8.1 Address Element</h>
+        <address href="mailto:webmaster@apache.org">Webmaster</address>
+      </section>
+      <separator />
+      <section>
+        <h>8.2 Blockcode Element</h>
+        <blockcode class="program">
+          <l>program p(input, output);</l>
+          <l>begin</l>
+          <l>   writeln("Hello world");</l>
+          <l>end.</l>
+        </blockcode>
+      </section>
+      <separator />
+      <section>
+        <h>8.3 The Blockquote Element</h>
+        <blockquote cite="http://forrest.apache.org/docs_0_80/howto/howto-view-contracts.html">
+          <p>
+            By working on the i18n integration for "pelt" we again encountered
+            the reasons for using views. ;-) The maintenance problem was to
+            change the captions of the skin features (contracts) to enable
+            support for i18n. The case is that the site-to-xhtml.xsl has a lot
+            of repeating code.
+          </p>
+        </blockquote>
+      </section>
+      <separator />
+      <section>
+        <h>8.4 The div element</h>
+        <div class="divsample">
+          <h>This is a 'h' element inside a div element</h>
+          <p>
+            An then end in a paragraph
+          </p>
+        </div>
+      </section>
+      <separator />
+      <section>
+        <h>8.5 The heading element</h>
+        <p>
+          ....
+        </p>
+        <h>This is second-level heading</h>
+        <p>
+          ....
+        </p>
+        <section>
+          <h>This is a third-level heading</h>
+          <p>
+            ....
+          </p>
+        </section>
+      </section>
+      <separator />
+      <section>
+        <h>8.6 The p element</h>
+        <p>
+          An easy one, this is the p element
+        </p>
+      </section>
+      <separator />
+      <section>
+        <h>8.7 The pre element</h>
+        <pre>The pre element preserves
      Whitespace, however it is not
 	 now intended to display code
 	 samples. See the blockcode element
 	 for that.</pre>
-</section>
-<separator />
-<section><h>8.8 The section element.</h>
-<h>This entire page is full of section elements</h>
-<p>Place example code here!</p>
-</section>
-<separator />
-<section><h>8.9 The separator element</h>
-<separator />
-<p>The separator element replaces the 'br' tag</p>
-<l class="todo">Todo:[Gav] Explain why here ...</l>
-<separator />
-</section>
-</section>
-<separator />
-<section><h>9 XHTML text Module</h>
-<section><h>9.1 The abbr element</h>
-<abbr title="Abbreviation">abbr.</abbr>
+      </section>
+      <separator />
+      <section>
+        <h>8.8 The section element.</h>
+        <h>This entire page is full of section elements</h>
+        <p>
+          Place example code here!
+        </p>
+      </section>
+      <separator />
+      <section>
+        <h>8.9 The separator element</h>
+        <separator />
+        <p>
+          The separator element replaces the 'br' tag
+        </p>
+        <l class="todo">Todo:[Gav] Explain why here ...</l>
+        <separator />
+      </section>
+    </section>
+    <separator />
+    <section>
+      <h>9 XHTML text Module</h>
+      <section>
+        <h>9.1 The abbr element</h>
+        <abbr title="Abbreviation">abbr.</abbr>
 The <span xml:id="w3c">World Wide Web Consortium</span>
  (<abbr full="#w3c">W3C</abbr>) develops interoperable technologies 
  (specifications, guidelines, software, and tools) to lead the Web to its full potential. 
  <abbr full="#w3c">W3C</abbr> is a forum for information, commerce, communication, and 
  collective understanding.
 </section>
-<separator />
-<section><h>9.2 The cite element</h>
+      <separator />
+      <section>
+        <h>9.2 The cite element</h>
 More information can be found in 
 <cite cite="http://www.w3.org/TR/REC-xml">[XML]</cite>.
-<p>These examples taken from the W3C site will be tailored
-to forrest very soon!</p>
-</section>
-<separator />
-<section><h>9.3 The code element</h>
+<p>
+          These examples taken from the W3C site will be tailored to forrest
+          very soon!
+        </p>
+      </section>
+      <separator />
+      <section>
+        <h>9.3 The code element</h>
 The Pascal statement <code>i := 1;</code> assigns the
 literal value one to the variable <var>i</var>.
 </section>
-<separator />
-<section><h>9.4 The dfn element</h>
+      <separator />
+      <section>
+        <h>9.4 The dfn element</h>
 dfn explains acronym, explanation coming <dfn xml:id="as-soon-as-possible">ASAP</dfn> :)
 </section>
-<section><h>9.5 The em element</h>
-<p>Retained from earlier versions, the em is to <em>emphasise</em> important words or phrases</p>
-<p>Sample code looks like <code>&lt;em&gt;emphasise&lt;/em&gt;</code></p>
-</section>
-<section><h>9.6 The kbd element</h>
-<p>The kbd element indicates input to be entered by the user.</p>
-<p>Sample code looks like <code>&lt;p&gt; Press &lt;kbd&gt;Enter&lt;/kbd&gt; to continue... &lt;/p&gt;</code></p>
-</section>
-<section><h>9.7 The l element</h>
-<p><l>This is a most useful element, it helps break up phrases or lines of code.</l>
-<l>   It retains whitespace too, CSS can also be used to create line numbers</l>
-<l>for example when displaying code within a <code>&lt;codeblock&gt;</code></l>
-<l>   It also negates having to use the <code>&lt;br /&gt; </code>element which</l>
-<l>is deprecated in XHTML2.</l>
-</p>
-<l>Another effect of this is that it reduces or illiminates the need for <code>&amp;nbsp</code>.</l>
-<l>   The result being you will not see any <em><code>&amp;nbsp</code></em> in the code for this document!!</l>
-<p>As an example of this taken from the <a href="http://www.w3.org/TR/xhtml2/mod-text.html#sec_9.2.">w3.org</a> site
-  :-</p>
-<p><blockcode> &lt;blockcode class="program"&gt; &lt;l&gt;program p(input, output);&lt;/l&gt; &lt;l&gt;begin&lt;/l&gt; &lt;l&gt; writeln("Hello
-    world");&lt;/l&gt; &lt;l&gt;end.&lt;/l&gt; &lt;/blockcode&gt; </blockcode></p>
-</section>
-<section><h>9.8 The quote element</h>
-<p>The specs for this on the W3C site says <quote>This element designates an inline text fragment of quoted text.</quote>
- and then goes on to say <quote>Visual user agents must not by default add delimiting quotation marks (as was the case for the q element in earlier versions of XHTML). 
- It is the responsibility of the document author to add any required quotation marks, either directly in the text, 
- or via a style sheet.</quote></p>
- <p>Example code of this would be : <code>&lt;p&gt; I heard someone say &lt;quote&gt;this
-     is getting to be a long document&lt;/quote&gt; and I guess they could be right! </code></p>
-</section>
-<section><h>9.9 The samp element</h>
-<p><l>Use this element when showing sample output of a program.</l>
-<l>For example, combining this with the <em>kdb</em> element we could have</l>
-<l>  At the prompt <samp>C:\Forrest\</samp> to get a seed site type in <kbd>forrest seed</kbd></l>
-<l> Code for the above is : <code>&lt;l&gt; At the prompt &lt;samp&gt;C:\Forrest\&lt;/samp&gt; to
-get a seed site type in &lt;kbd&gt;forrest seed&lt;/kbd&gt;&lt;/l&gt;</code></l>
-<l>Also note that both <em>samp</em> and <em>kbd</em> are existing elements.</l></p>
-</section>
-<section><h>9.10 The span element</h>
-<p>Used as a generic structural element, can be used <span class="codefrag">inline</span> perhaps
-  to highlight a word or phrase in a different style to other elements offered.
-  Used in conjunction with CSS , the <em>span</em> element can be used in an
-  infinite amount of ways and can prevent the re-use or re-styling of other more
-  dedicated elements (such as <em>code</em>, <em>em</em> or when they
-don't seem appopriate.) Such a use could be something like :-</p>
-<p><code>&lt;p&gt;I need to &lt;span class=&quot;someClass&quot;&gt;highlight
-    this section of text&lt;/span&gt;
-    so it stands out from the rest of this sentence &lt;/p&gt;.</code></p>
-</section> 
-<section><h>9.11 The strong element</h>
-<p>The <strong>strong</strong> element indicates higher importance than that of
-surrounding text.</p>
-</section>
-<section><h>9.12 The sub element</h>
-<p>The <sub>sub</sub> element is used for subscript.</p>
-</section>
-<section><h>9.13 The sup element</h>
-<p>The <sup>sup</sup> element is used for superscript</p>
-</section>
-<section><h>9.14 The var element</h>
-<p>The parameter <var>ncols</var> represents
-the number of colors to use.</p>
-</section>
-</section>
-<separator />
-<section><h>10 XHTML Hypertest Module</h>
-<section><h>10.1 The a element</h>
-<p>Still used as an anchor for a URI, hrefs can now be used by other 
-elements now. See Section 13 <a href="http://www.w3.org/TR/xhtml2/mod-hyperAttributes.html">XHTML Hypertext Attributes Module.</a></p>
-<p>An a element example would be like the link above: <code>&lt;a href=&quot;http://www.w3.org/TR/xhtml2/mod-hyperAttributes.html&quot;&gt;XHTML
-    Hypertext Attributes Module.&lt;/a&gt;</code></p>
-</section>
-</section>
-<separator />
-<section><h>11 XHTML List Module</h>
-<section><h>11.1 Definition Lists : The dl, di, dt, and dd elements.</h>
-<dl>
-   <dt>Forrest</dt>
-   <dd> An excellent collaborative open source package!</dd>
-   <dd> A respectful community</dd>
-   <dt>Forest</dt>
-   <dd> A group of trees larger than a "wood".</dd>
-</dl>
-<l class="todo">Todo:[Gav] - Example code needed.</l>
-</section>
-<section><h>11.2 The <em>nl</em> element.</h>
-<nl>
-   <label>Contents </label>
-   <li href="#introduction">Introduction</li>
-   <li>
-      <nl>
-          <label>Terms</label>
-          <li href="#may">May</li>
-          <li href="#must">Must</li>
-          <li href="#should">Should</li>
-      </nl>
-   </li>
-   <li href="#conformance">Conformance</li>
-   <li href="#references">References</li>
-</nl>
-</section>
-<section><h>11.3 The <em>ol</em> and <em>ul</em> elements.</h>
-<p> Ordered Lists (ol) and unordered lists (ul), containing list items (li)</p>
-<ul>
-   <li>... first unordered list item...</li>
-   <li>... second unordered list item...</li>
-</ul>
-<ol>
-   <li>... first ordered list item...</li>
-   <li>... second ordered list item...</li>
-</ol>
-</section>
-<section><h>11.4 The <em>li</em> element.</h>
-<l>List items contained within ordered or unordered lists, or within navigation lists (nl).</l>
-<l>See Section 11.2 and 11.3 for examples.</l>
-</section>
-<section><h>11.5 The <em>label</em> element.</h>
-<l> The <em>label</em> element defines a label for a list, representing the list title</l>
-<l>Actually I think it is much more than that, labels can be applied to forms etc ...</l>
-</section>
-<section><h>11.6 Known Issues for section 11 elements.</h>
-<p>For the latest issues visit <a href="http://www.w3.org/TR/xhtml2/mod-list.html#sec_11.6.">w3.org</a></p>
-</section>
-</section>
-<separator />
-<section><h href="http://www.w3.org/TR/xhtml2/mod-core.html">12 XHTML Core Attributes Module</h>
-<p> <l>The core attribute collection contains the following attributes :</l>
-<ol><li>The <em>class</em> attribute.</li>
-      <li>The <em>id</em> attribute.</li>
-      <li>The <em>layout</em> attribute - </li>
-      <li>The <em>title</em> attribute</li>
-</ol></p>
-<p><l>Examples of the above would be something like</l>
-      <l class="l_class"><code>&lt;p class='quote'&gt;</code>. The class attribute is good for styling of
+      <section>
+        <h>9.5 The em element</h>
+        <p>
+          Retained from earlier versions, the em is to <em>emphasise</em>
+          important words or phrases
+        </p>
+        <p>
+          Sample code looks like <code>&lt;em&gt;emphasise&lt;/em&gt;</code>
+        </p>
+      </section>
+      <section>
+        <h>9.6 The kbd element</h>
+        <p>
+          The kbd element indicates input to be entered by the user.
+        </p>
+        <p>
+          Sample code looks like <code>&lt;p&gt; Press
+          &lt;kbd&gt;Enter&lt;/kbd&gt; to continue... &lt;/p&gt;</code>
+        </p>
+      </section>
+      <section>
+        <h>9.7 The l element</h>
+        <p>
+          <l>This is a most useful element, it helps break up phrases or lines of code.</l>
+          <l>   It retains whitespace too, CSS can also be used to create line numbers</l>
+          <l>for example when displaying code within a <code>&lt;codeblock&gt;</code>
+          </l>
+          <l>   It also negates having to use the <code>&lt;br /&gt; </code>element which</l>
+          <l>is deprecated in XHTML2.</l>
+        </p>
+        <l>Another effect of this is that it reduces or illiminates the need for <code>&amp;nbsp</code>.</l>
+        <l>   The result being you will not see any <em><code>&amp;nbsp</code></em> in the code for this document!!</l>
+        <p>
+          As an example of this taken from the
+          <a href="http://www.w3.org/TR/xhtml2/mod-text.html#sec_9.2.">w3.org</a>
+          site :-
+        </p>
+        <p>
+          <blockcode> &lt;blockcode class="program"&gt; &lt;l&gt;program p(input, output);&lt;/l&gt; &lt;l&gt;begin&lt;/l&gt; &lt;l&gt; writeln("Hello
+    world");&lt;/l&gt; &lt;l&gt;end.&lt;/l&gt; &lt;/blockcode&gt; </blockcode>
+        </p>
+      </section>
+      <section>
+        <h>9.8 The quote element</h>
+        <p>
+          The specs for this on the W3C site says
+          <quote>
+            This element designates an inline text fragment of quoted text.
+          </quote>
+          and then goes on to say
+          <quote>
+            Visual user agents must not by default add delimiting quotation
+            marks (as was the case for the q element in earlier versions of
+            XHTML). It is the responsibility of the document author to add any
+            required quotation marks, either directly in the text, or via a
+            style sheet.
+          </quote>
+        </p>
+        <p>
+          Example code of this would be : <code>&lt;p&gt; I heard someone say
+          &lt;quote&gt;this is getting to be a long document&lt;/quote&gt; and I
+          guess they could be right! </code>
+        </p>
+      </section>
+      <section>
+        <h>9.9 The samp element</h>
+        <p>
+          <l>Use this element when showing sample output of a program.</l>
+          <l>For example, combining this with the <em>kdb</em> element we could have</l>
+          <l>  At the prompt <samp>C:\Forrest\</samp> to get a seed site type in <kbd>forrest seed</kbd>
+          </l>
+          <l> Code for the above is : <code>&lt;l&gt; At the prompt &lt;samp&gt;C:\Forrest\&lt;/samp&gt; to
+get a seed site type in &lt;kbd&gt;forrest seed&lt;/kbd&gt;&lt;/l&gt;</code>
+          </l>
+          <l>Also note that both <em>samp</em> and <em>kbd</em> are existing elements.</l>
+        </p>
+      </section>
+      <section>
+        <h>9.10 The span element</h>
+        <p>
+          Used as a generic structural element, can be used
+          <span class="codefrag">inline</span>
+          perhaps to highlight a word or phrase in a different style to other
+          elements offered. Used in conjunction with CSS , the <em>span</em>
+          element can be used in an infinite amount of ways and can prevent the
+          re-use or re-styling of other more dedicated elements (such as
+          <em>code</em>, <em>em</em> or when they don't seem appopriate.) Such a
+          use could be something like :-
+        </p>
+        <p>
+          <code>&lt;p&gt;I need to &lt;span
+          class=&quot;someClass&quot;&gt;highlight this section of
+          text&lt;/span&gt; so it stands out from the rest of this sentence
+          &lt;/p&gt;.</code>
+        </p>
+      </section>
+      <section>
+        <h>9.11 The strong element</h>
+        <p>
+          The <strong>strong</strong> element indicates higher importance than
+          that of surrounding text.
+        </p>
+      </section>
+      <section>
+        <h>9.12 The sub element</h>
+        <p>
+          The <sub>sub</sub> element is used for subscript.
+        </p>
+      </section>
+      <section>
+        <h>9.13 The sup element</h>
+        <p>
+          The <sup>sup</sup> element is used for superscript
+        </p>
+      </section>
+      <section>
+        <h>9.14 The var element</h>
+        <p>
+          The parameter
+          <var>ncols</var>
+          represents the number of colors to use.
+        </p>
+      </section>
+    </section>
+    <separator />
+    <section>
+      <h>10 XHTML Hypertest Module</h>
+      <section>
+        <h>10.1 The a element</h>
+        <p>
+          Still used as an anchor for a URI, hrefs can now be used by other
+          elements now. See Section 13
+          <a href="http://www.w3.org/TR/xhtml2/mod-hyperAttributes.html">XHTML
+          Hypertext Attributes Module.</a>
+        </p>
+        <p>
+          An a element example would be like the link above: <code>&lt;a
+          href=&quot;http://www.w3.org/TR/xhtml2/mod-hyperAttributes.html&quot;&gt;XHTML
+          Hypertext Attributes Module.&lt;/a&gt;</code>
+        </p>
+      </section>
+    </section>
+    <separator />
+    <section>
+      <h>11 XHTML List Module</h>
+      <section>
+        <h>11.1 Definition Lists : The dl, di, dt, and dd elements.</h>
+        <dl>
+          <dt>Forrest</dt>
+          <dd> An excellent collaborative open source package!</dd>
+          <dd> A respectful community</dd>
+          <dt>Forest</dt>
+          <dd> A group of trees larger than a "wood".</dd>
+        </dl>
+        <l class="todo">Todo:[Gav] - Example code needed.</l>
+      </section>
+      <section>
+        <h>11.2 The <em>nl</em> element.</h>
+        <nl>
+          <label>Contents </label>
+          <li href="#introduction">Introduction</li>
+          <li><nl>
+              <label>Terms</label>
+              <li href="#may">May</li>
+              <li href="#must">Must</li>
+              <li href="#should">Should</li>
+            </nl></li>
+          <li href="#conformance">Conformance</li>
+          <li href="#references">References</li>
+        </nl>
+      </section>
+      <section>
+        <h>11.3 The <em>ol</em> and <em>ul</em> elements.</h>
+        <p>
+          Ordered Lists (ol) and unordered lists (ul), containing list items
+          (li)
+        </p>
+        <ul>
+          <li>... first unordered list item...</li>
+          <li>... second unordered list item...</li>
+        </ul>
+        <ol>
+          <li>... first ordered list item...</li>
+          <li>... second ordered list item...</li>
+        </ol>
+      </section>
+      <section>
+        <h>11.4 The <em>li</em> element.</h>
+        <l>List items contained within ordered or unordered lists, or within navigation lists (nl).</l>
+        <l>See Section 11.2 and 11.3 for examples.</l>
+      </section>
+      <section>
+        <h>11.5 The <em>label</em> element.</h>
+        <l> The <em>label</em> element defines a label for a list, representing the list title</l>
+        <l>Actually I think it is much more than that, labels can be applied to forms etc ...</l>
+      </section>
+      <section>
+        <h>11.6 Known Issues for section 11 elements.</h>
+        <p>
+          For the latest issues visit
+          <a href="http://www.w3.org/TR/xhtml2/mod-list.html#sec_11.6.">w3.org</a>
+        </p>
+      </section>
+    </section>
+    <separator />
+    <section>
+      <h href="http://www.w3.org/TR/xhtml2/mod-core.html">12 XHTML Core Attributes Module</h>
+      <p>
+        <l>The core attribute collection contains the following attributes :</l>
+        <ol>
+          <li>The <em>class</em> attribute.</li>
+          <li>The <em>id</em> attribute.</li>
+          <li>The <em>layout</em> attribute - </li>
+          <li>The <em>title</em> attribute</li>
+        </ol>
+      </p>
+      <p>
+        <l>Examples of the above would be something like</l>
+        <l class="l_class"><code>&lt;p class='quote'&gt;</code>. The class attribute is good for styling of
       single of multiple sections of a page/site and identification.</l>
-      <l xml:id="l_id"><code>&lt;section id='content'&gt;</code>. Used as a unique identifier for an element - must be unique within the same document.</l>
-      <l class="l_class" layout="relevant" ><code>&lt;l class="l_class" layout="relevant" &gt;</code>The layout attribute by default is 'irrelevant' - 
+        <l xml:id="l_id"><code>&lt;section id='content'&gt;</code>. Used as a unique identifier for an element - must be unique within the same document.</l>
+        <l class="l_class" layout="relevant" ><code>&lt;l class="l_class" layout="relevant" &gt;</code>The layout attribute by default is 'irrelevant' - 
                            meaning no white space preserving basically.
                            The 'relevant' attribute value when specified, 
                            allows the    user agent    to preserve white space.</l>
-      <l>The words used by the W3C - 'allows the user agent...' assumes that the user agent being</l>
-      <l>used at the time will preserve white space if capable. The 'pre' element overrides the layout setting if set</l>
-      <l>The title attribute defines meta-information about the element on which it is set. Useful for hyperlink information.</l>
-      <l>More information on this at <a href="http://www.w3.org/TR/xhtml2/mod-core.html#s_coremodule" title="w3.org xhtml2 mod-core">w3.org</a>'s site.</l>
-      <l>code example of above is : <code>&lt;l&gt;More information on this at &lt;a href=&quot;http://www.w3.org/TR/xhtml2/mod-core.html#s_coremodule&quot; title=&quot;w3.org xhtml2 mod-core&quot;&gt;w3.org&lt;/a&gt; site.&lt;/l&gt;</code></l>
-</p>
-</section>
-<separator />
-<section><h>13 XHTML Hypertext Attributes Module</h>
-<l>The collection of attributes contains :-</l>
-<ol><li>cite</li>
-       <li>href</li>
-       <li>hreflang</li>
-       <li>hrefmedia</li>
-       <li>hreftype</li>
-       <li>nextfocus</li>
-       <li>prevfocus</li>
-       <li>target</li>
-       <li>xml:base</li>
-</ol>
-<l class="todo"> Todo:[Gav] - Create examples for above attributes </l>
-</section>
-<separator />
-<section><h href="http://www.w3.org/TR/xhtml2/mod-embedding.html">17 XHTML Embedding Attributes Module.</h>
-<l class="todo"> Todo:[Gav] - List and create examples.</l>
-</section>
-<separator />
-<section><h href="http://www.w3.org/TR/xhtml2/mod-meta.html">22 XHTML Metainformation Module</h>
-<l class="todo"> Todo:[Gav] - List and create examples, sub sections involved.</l>
-</section>
-<separator />
-<section><h href="http://www.w3.org/TR/xhtml2/mod-metaAttributes.html">23 XHTML Metainformation Attributes Module</h>
-<l class="todo"> Todo:[Gav] - List and create examples, contains 4 sub-sections, many attribute values!</l>
-</section>
-<separator />
-<section><h href="http://www.w3.org/TR/xhtml2/mod-tables.html">29 XHTML Tables Module.</h>
-<l class="todo"> Todo:[Gav] - List and create examples, contains 8 sub sections.</l>
-</section>
-<separator />
-<section><h href="http://www.w3.org/TR/xhtml2/mod-role.html#col_role">25 XHTML Role Access Module.</h>
-<section><h>25.2 Role Collection</h>
-<l class="todo"> Todo:[Gav] - Explain the usefulness of the role collection in relation to forrest, with examples.</l>
-</section>
-</section>
-<separator />
+        <l>The words used by the W3C - 'allows the user agent...' assumes that the user agent being</l>
+        <l>used at the time will preserve white space if capable. The 'pre' element overrides the layout setting if set</l>
+        <l>The title attribute defines meta-information about the element on which it is set. Useful for hyperlink information.</l>
+        <l>More information on this at <a href="http://www.w3.org/TR/xhtml2/mod-core.html#s_coremodule" title="w3.org xhtml2 mod-core">w3.org</a>'s site.</l>
+        <l>code example of above is : <code>&lt;l&gt;More information on this at &lt;a href=&quot;http://www.w3.org/TR/xhtml2/mod-core.html#s_coremodule&quot; title=&quot;w3.org xhtml2 mod-core&quot;&gt;w3.org&lt;/a&gt; site.&lt;/l&gt;</code>
+        </l>
+      </p>
+    </section>
+    <separator />
+    <section>
+      <h>13 XHTML Hypertext Attributes Module</h>
+      <l>The collection of attributes contains :-</l>
+      <ol>
+        <li>cite</li>
+        <li>href</li>
+        <li>hreflang</li>
+        <li>hrefmedia</li>
+        <li>hreftype</li>
+        <li>nextfocus</li>
+        <li>prevfocus</li>
+        <li>target</li>
+        <li>xml:base</li>
+      </ol>
+      <l class="todo"> Todo:[Gav] - Create examples for above attributes </l>
+    </section>
+    <separator />
+    <section>
+      <h href="http://www.w3.org/TR/xhtml2/mod-embedding.html">17 XHTML Embedding Attributes Module.</h>
+      <l class="todo"> Todo:[Gav] - List and create examples.</l>
+    </section>
+    <separator />
+    <section>
+      <h href="http://www.w3.org/TR/xhtml2/mod-meta.html">22 XHTML Metainformation Module</h>
+      <l class="todo"> Todo:[Gav] - List and create examples, sub sections involved.</l>
+    </section>
+    <separator />
+    <section>
+      <h href="http://www.w3.org/TR/xhtml2/mod-metaAttributes.html">23 XHTML Metainformation Attributes Module</h>
+      <l class="todo"> Todo:[Gav] - List and create examples, contains 4 sub-sections, many attribute values!</l>
+    </section>
+    <separator />
+    <section>
+      <h href="http://www.w3.org/TR/xhtml2/mod-tables.html">29 XHTML Tables Module.</h>
+      <l class="todo"> Todo:[Gav] - List and create examples, contains 8 sub sections.</l>
+    </section>
+    <separator />
+    <section>
+      <h href="http://www.w3.org/TR/xhtml2/mod-role.html#col_role">25 XHTML Role Access Module.</h>
+      <section>
+        <h>25.2 Role Collection</h>
+        <l class="todo"> Todo:[Gav] - Explain the usefulness of the role collection in relation to forrest, with examples.</l>
+      </section>
+    </section>
+    <separator />
   </body>
 </html>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/site.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/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,28 +28,23 @@
 
 See http://forrest.apache.org/docs/linking.html for more info
 -->
-
 <site label="org.apache.forrest.plugin.internal.xhtml2" 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.internal.xhtml2"/>
     <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>
-  
   <samples label="Samples" href="samples/">
     <xhtml2 label="XHTML2 Subset" href="xhtml2_subset.html"/>
   </samples>
-
-  <!--
+<!--
   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 +54,4 @@
       <plugins href="docs/plugins"/>
     </forrest>
   </external-refs>
-
 </site>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/tabs.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/tabs.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/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.internal.xhtml2/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/skinconf.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/skinconf.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/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: xhtml2 internal</project-name>
   <project-description>org.apache.forrest.plugin.internal.xhtml2 plugin for Apache Forrest</project-description>
-
 </skinconfig>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/status.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/status.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/status.xml Mon Apr  9 22:45:15 2007
@@ -16,34 +16,30 @@
   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="RDG" type="add" context="admin">
         Initial plugin code.
       </action>
     </release>
   </changes>
-
   <todo>
     <actions priority="high">
       <action context="docs" dev="open">
@@ -57,5 +53,4 @@
       </action>
     </actions>
   </todo>
-
 </status>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/structurer.xmap Mon Apr  9 22:45:15 2007
@@ -16,7 +16,6 @@
   limitations under the License.
 -->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-
   <map:components>
     <map:generators>
       <map:generator name="directory" src="org.apache.cocoon.generation.DirectoryGenerator" />
@@ -30,7 +29,7 @@
     </map:generators>
     <map:serializers>
       <map:serializer logger="sitemap.serializer.xhtml" mime-type="text/html" name="xhtml" pool-grow="2" pool-max="64" pool-min="2" src="org.apache.cocoon.serialization.XMLSerializer">
-	      <!--+
+<!--+
 	          | You can choose from Strict, Transitional, or Frameset XHTML.
 	          | For Strict XHTML set doctype to:
 	          |   <doctype-public>-//W3C//DTD XHTML 1.0 Strict//EN</doctype-public>
@@ -50,17 +49,13 @@
         <encoding>UTF-8</encoding>
       </map:serializer>
     </map:serializers>
-
     <map:actions>
       <map:action name="fallbackResolverAction"
           src="org.apache.forrest.acting.FallbackResolverAction"/>
     </map:actions>
-
   </map:components>
-
   <map:pipelines>
-  
-  <!--
+<!--
     FIXME: Refactor
     The follwoing pipeline is copied from viewhelper.xhtml/output.xmap.
     We need to work through this pipline ensuring the matches are in the right xmap
@@ -68,15 +63,15 @@
   
   -->
     <map:pipeline type="noncaching">
-  <!--
+<!--
     FIXME:
     The next pipes have to be refactored and then to go into the view-interface (internal plugin)
     e.g. resources/templates/{1}.ft -> should become 
     first {properties:view-skin}/templates/{1}.ft 
     then {properties:skin}/templates/{1}.ft
     -->
-  <!--FIXME:START-->
-  <!--
+<!--FIXME:START-->
+<!--
     Resolving factory
     Project implementation of templates have priority before default ones.
     If no implementation can be found we use the noFt (~ - no forrest:template) implementation.
@@ -104,8 +99,7 @@
         </map:select>
         <map:serialize type="xml"/>
       </map:match>
-  
-  <!--This activates forrest:call-templates includes into the view.-->
+<!--This activates forrest:call-templates includes into the view.-->
       <map:match pattern="prepare.view-templates.**">
         <map:select type="exists">
           <map:when test="{properties:resources}/templates/{properties:theme}/{1}.vt.xml">
@@ -120,15 +114,14 @@
           <map:when test="resources/templates/{1}.vt.xml">
             <map:generate src="resources/templates/{1}.vt.xml"/>
           </map:when>
-          <!-- FIXME: otherwiser no view Tiles not found, this gives an error because there would be a trasform without a generate -->
+<!-- FIXME: otherwiser no view Tiles not found, this gives an error because there would be a trasform without a generate -->
         </map:select>
         <map:transform src="{properties:forrest.view-internal}/resources/stylesheets/prepare.include.templates.xsl"/>
-        <!-- XInclude cannot be cached, can we use the CINCLUDE instead? -->
+<!-- XInclude cannot be cached, can we use the CINCLUDE instead? -->
         <map:transform type="xinclude"/>
         <map:serialize type="xml"/>
       </map:match>
-  
-   <!-- <!-#-INTERFACE
+<!-- <!-#-INTERFACE
     Get the xsl:templates of the requested contract.
   {1} format to deliver
   {2} contract name-#->
@@ -140,15 +133,14 @@
      </map:transform>
      <map:serialize type="xml"/>
    </map:match>-->
-  
-  <!--IMPLEMENTATION
+<!--IMPLEMENTATION
     Get the xsl:templates of the requested contract.
   {html} format to deliver
   {2} contract name-->
       <map:match pattern="get.contract.*.xhtml">
         <map:generate src="cocoon:/resolve.contract.xhtml.{1}"/>
         <map:transform src="resources/stylesheets/contract.xsl">
-      <!--Which output format?-->
+<!--Which output format?-->
           <map:parameter name="format" value="xhtml"/>
         </map:transform>
         <map:transform type="i18n">
@@ -156,7 +148,7 @@
         </map:transform>
         <map:serialize type="xml"/>
       </map:match>
-  <!--
+<!--
   Get the forrest:properties of the requested contract. 
   This will determine which templates (css, head, body) we have to call later on
   {1} format to deliver
@@ -165,13 +157,13 @@
       <map:match pattern="get.contract-property.*.xhtml">
         <map:generate src="cocoon:/resolve.contract.xhtml.{1}"/>
         <map:transform src="resources/stylesheets/contract.property.xsl">
-      <!--Which output format?-->
+<!--Which output format?-->
           <map:parameter name="format" value="xhtml"/>
         </map:transform>
         <map:serialize type="xml"/>
       </map:match>
     </map:pipeline>
-  <!--
+<!--
   Get the css of the requested contract {1}. 
   -->
 <!--   <map:match pattern="get.contract-css.*">
@@ -187,14 +179,14 @@
     first {properties:view-skin}/templates 
     then {properties:skin}/templates
     -->
-  <!--FIXME:START-->
+<!--FIXME:START-->
 <!-- ls.fbits 
   list the default fbits-->
     <map:pipeline>
       <map:match pattern="ls.contracts">
         <map:generate type="directory" src="resources/templates">
           <map:parameter name="depth" value="1"/>
-        <!-- sorted alphabetically -->
+<!-- sorted alphabetically -->
           <map:parameter name="reverse" value="false"/>
         </map:generate>
         <map:serialize type="xml"/>
@@ -206,13 +198,12 @@
       <map:match pattern="ls.contracts.project">
         <map:generate type="directory" src="{properties:resources}/templates/">
           <map:parameter name="depth" value="1"/>
-        <!-- sorted alphabetically -->
+<!-- sorted alphabetically -->
           <map:parameter name="reverse" value="false"/>
         </map:generate>
         <map:serialize type="xml"/>
       </map:match>
     </map:pipeline>
-
     <map:pipeline>
 <!--
   Debug pipes - JTidy output
@@ -225,84 +216,74 @@
         <map:generate type="html" src="cocoon:/{1}/{2}.html"/>
         <map:serialize type="xhtml"/>
       </map:match>
-    
-    
-      <!--
+<!--
       Output format
       FIXME: REFACTOR: These .html matchers should go into an html output plugin 
       -->
       <map:match pattern="*.html">
-        <!-- FIXME: should be <map:generate src="cocoon://{1}/{2}.xml"/> -->
+<!-- FIXME: should be <map:generate src="cocoon://{1}/{2}.xml"/> -->
         <map:generate src="{properties:content.xdocs}/{1}.xml"/>
-        <!-- This is an example of RELAX NG validation.
+<!-- This is an example of RELAX NG validation.
           Such transformers can go anywhere in the sitemap. -->
-        <!--
+<!--
         <map:transform type="validate" src="{forrest:forrest.context}/resources/schema/relaxng/WD-xhtml2-20050527/xhtml2-forrest.rng" />
         -->
         <map:transform src="cocoon://getStylesheet.xhtml.{1}">
           <map:parameter name="path" value="{0}"/>
         </map:transform>
         <map:transform src="{lm:transform.xslt.xhtml2.html}"/>
-        <!--
+<!--
           FIXME: this transformation was in the original views plugin - do we need it here?
           <map:transform src="resources/stylesheets/strip_namespaces.xsl"/>-->
         <map:serialize type="xhtml"/>
       </map:match>
-
       <map:match pattern="**/*.html">
-        <!-- FIXME: should be <map:generate src="cocoon://{1}/{2}.xml"/> -->
+<!-- FIXME: should be <map:generate src="cocoon://{1}/{2}.xml"/> -->
         <map:generate src="{properties:content.xdocs}{1}/{2}.xml"/>
-        <!-- This is an example of RELAX NG validation.
+<!-- This is an example of RELAX NG validation.
           Such transformers can go anywhere in the sitemap. -->
-        <!--
+<!--
         <map:transform type="validate" src="{forrest:forrest.context}/resources/schema/relaxng/WD-xhtml2-20050527/xhtml2-forrest.rng" />
         -->
         <map:transform src="cocoon://getStylesheet.xhtml.{1}/{2}">
           <map:parameter name="path" value="{0}"/>
         </map:transform>
         <map:transform src="{lm:transform.xslt.xhtml2.html}"/>
-        <!--
+<!--
           FIXME: this transformation was in the original views plugin - do we need it here?
           <map:transform src="resources/stylesheets/strip_namespaces.xsl"/>-->
         <map:serialize type="xhtml"/>
       </map:match>
     </map:pipeline>
-    
 <!--
    FIXME: Refactor
    The following pipeline is a copy of the interal.xmap from the internal.view plugin
    It needs refactoring to ensure that all matches are in the right sitemap and it uses
    the locationmap where appropriate.
  -->
-    
 <!--
   This plugin has x components:
   2. businessHelper - delivers content that is used in the contracts
   3. views - transforms the requested contracts (viewHelper) 
      and populate them with the content (businessHelper)
   -->
-
-
-
 <!--
   3. views
   prepares and transforms the requested contracts (viewHelper) and populate them with the content (businessHelper).
   -->
-  <!--FIXME: We should refactor this pipeline when we want to use it-->
+<!--FIXME: We should refactor this pipeline when we want to use it-->
     <map:pipeline type="noncaching">
-    <!--Refactor for dir-->
+<!--Refactor for dir-->
       <map:match pattern="viewLocationmap.xml">
         <map:generate type="traverse" src="{properties:content.xdocs}">
           <map:parameter name="depth" value="100"/>
           <map:parameter name="exclude" value="[\w]*.svn"/>
-        <!--<map:parameter name="include" value="[\w]*.fv"/>-->
+<!--<map:parameter name="include" value="[\w]*.fv"/>-->
         </map:generate>
         <map:transform src="resources/stylesheets/viewLocationmap.xsl"/>
         <map:serialize type="xml"/>
       </map:match>
-    
-
-  <!--
+<!--
     View config resolver
     File specific views have priority before default ones.
     If no views can be found in the project we use the default one of the view plugin.
@@ -317,17 +298,14 @@
           <map:parameter value="{properties:forrest.view-themes}" name="defaultDir"/>
           <map:parameter value="{properties:forrest.theme}" name="defaultFallback"/>
           <map:parameter value="{properties:forrest.theme-ext}" name="defaultExtension"/>
-
           <map:generate src="file:/{uri}"/>
           <map:transform src="resources/stylesheets/prepare.include.templates.xsl"/>
           <map:transform type="xinclude"/>
           <map:serialize type="xml"/>
         </map:act>
       </map:match>
-    
-    <!--Add businessHelper to the presentation model that the content can be used later on.
+<!--Add businessHelper to the presentation model that the content can be used later on.
         {1} - requested url-->
-
       <map:match pattern="prepare.view-nugget.**">
         <map:generate src="cocoon:/prepare.view.{1}"/>
         <map:transform src="resources/stylesheets/prepare.view.xsl">
@@ -336,7 +314,6 @@
         <map:transform type="xinclude"/>
         <map:serialize type="xml"/>
       </map:match>
-    
 <!--
   Aggregate the contract-templates requested by the view with xinclude.
   The result is a stylesheet with all needed xsl:templates.
@@ -347,14 +324,13 @@
         <map:generate src="cocoon:/prepare.view.{2}"/>
         <map:transform src="resources/stylesheets/prepare.include.xsl">
           <map:parameter name="config-file" value="{properties:skinconf}"/>
-        <!--Which output format?-->
+<!--Which output format?-->
           <map:parameter name="format" value="{1}"/>
         </map:transform>
         <map:transform type="xinclude"/>
         <map:serialize type="xml"/>
       </map:match>
-    
-    <!--
+<!--
       Aggregate the forrest:properties requested by the *.fv.
       The result is an aggregation of properties which defines the templates to be call.
       {1} - format
@@ -363,18 +339,18 @@
       <map:match pattern="prepare.properties.*.**">
         <map:generate src="cocoon:/prepare.view.{2}"/>
         <map:transform src="resources/stylesheets/prepare.properties.xsl">
-        <!--Which output format?-->
+<!--Which output format?-->
           <map:parameter name="format" value="{1}"/>
         </map:transform>
         <map:transform type="xinclude"/>
         <map:serialize type="xml"/>
       </map:match>
-    <!--FIXME
+<!--FIXME
       This has to be an interface and not an implementation
       
       An interface will only generate cocoon protocol matches and serialize them!
       An implementation will deliver the actual match (including transformation)-->
-    <!--
+<!--
       Aggregate all contracts-templates requested by the view.
       Create a xsl that can be used for the last step of the transformation of the view.
       {1} - format
@@ -393,6 +369,5 @@
         <map:serialize type="xml"/>
       </map:match>
     </map:pipeline>
-  
   </map:pipelines>
 </map:sitemap>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/branding-tagline.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/branding-tagline.ft?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/branding-tagline.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/branding-tagline.ft Mon Apr  9 22:45:15 2007
@@ -18,15 +18,17 @@
 <forrest:contract xmlns:forrest="http://apache.org/forrest/templates/1.0"
     name="branding-tagline" type="nugget">
   <description>
-        branding-tagline will output the site name and tagline.
-    </description>
-  <usage><![CDATA[<forrest:contract name="branding-tagline">
+    branding-tagline will output the site name and tagline.
+  </description>
+  <usage>
+<![CDATA[<forrest:contract name="branding-tagline">
   <forrest:properties contract="branding-tagline">
     <forrest:property name="branding-tagline-name">new seed</forrest:property>
     <forrest:property name="branding-tagline-tagline">powered by 
       forrest:views</forrest:property>
   </forrest:properties>
-</forrest:contract>]]></usage>
+</forrest:contract>]]>
+  </usage>
   <forrest:template
       xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
       xmlns:forrest="http://apache.org/forrest/templates/1.0"

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-main.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-main.ft?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-main.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-main.ft Mon Apr  9 22:45:15 2007
@@ -23,19 +23,21 @@
   <description>
     content-main - Template will output the main body of a document.
   </description>
-  <usage><![CDATA[<forrest:contract name="content-main"/>]]></usage>
+  <usage>
+<![CDATA[<forrest:contract name="content-main"/>]]>
+  </usage>
   <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
     format="xhtml" name="content-main" inputFormat="xsl" body="true" head="false">
-     <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-	    <xsl:template name="content-main-body" >
-	<xsl:comment>+
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+      <xsl:template name="content-main-body" >
+        <xsl:comment>+
 	    |start content-main
 	    +</xsl:comment>
-			  <xsl:copy-of select="xhtml2:body/*"/>
-<xsl:comment>+
+        <xsl:copy-of select="xhtml2:body/*"/>
+        <xsl:comment>+
     |end content-main
     +</xsl:comment>
-		  </xsl:template>
-	  </xsl:stylesheet>
+      </xsl:template>
+    </xsl:stylesheet>
   </forrest:template>
 </forrest:contract>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-title.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-title.ft?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-title.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/templates/content-title.ft Mon Apr  9 22:45:15 2007
@@ -21,23 +21,25 @@
   xmlns:xhtml2="http://www.w3.org/2002/06/xhtml2"
   name="content-title" type="nugget">
   <description>
-    content-title - Template will output the title (first h1 of the content). 
+    content-title - Template will output the title (first h1 of the content).
     FIXME: in XHTML2 the title may be the heading of the first section
   </description>
-  <usage><![CDATA[<forrest:contract name="content-title"/>]]></usage>
+  <usage>
+<![CDATA[<forrest:contract name="content-title"/>]]>
+  </usage>
   <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0"
     format="xhtml" name="content-title" inputFormat="xsl" body="true" head="false">
-     <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-	    <xsl:template name="content-title-body" match="div[@id='content']/h1[position()=1]">
-	<xsl:comment>+
+    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+      <xsl:template name="content-title-body" match="div[@id='content']/h1[position()=1]">
+        <xsl:comment>+
 	    |start content-title
 	    +</xsl:comment>
-        <!-- FIXME: Is this the right element to use, in the old XDoc we used the first <h1> element -->
-			  <xsl:copy-of select="xhtml2:body/xhtml2:h[position()=1]"/>
-<xsl:comment>+
+<!-- FIXME: Is this the right element to use, in the old XDoc we used the first <h1> element -->
+        <xsl:copy-of select="xhtml2:body/xhtml2:h[position()=1]"/>
+        <xsl:comment>+
     |end content-title
     +</xsl:comment>
-		  </xsl:template>
-	  </xsl:stylesheet>
+      </xsl:template>
+    </xsl:stylesheet>
   </forrest:template>
-</forrest:contract>
\ No newline at end of file
+</forrest:contract>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/build.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/build.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/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.Anakia"/>
   <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.Anakia/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/locationmap.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/locationmap.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/locationmap.xml Mon Apr  9 22:45:15 2007
@@ -16,7 +16,6 @@
   limitations under the License.
 -->
 <locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
-
   <components>
     <matchers default="lm">
       <matcher 
@@ -24,12 +23,11 @@
         src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
     </matchers>
     <selectors default="exists">
-          <selector name="exists" logger="sitemap.selector.exists"  
+      <selector name="exists" logger="sitemap.selector.exists"  
                     src="org.apache.forrest.sourceexists.SourceExistsSelector" />
     </selectors>
   </components>
-
-  <locator>  
+  <locator>
     <match pattern="anakia.transform.*.*">
       <location src="resources/stylesheets/{1}-to-{2}.xsl"/>
     </match>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/output.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/output.xmap?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/output.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/output.xmap Mon Apr  9 22:45:15 2007
@@ -16,7 +16,6 @@
   limitations under the License.
 -->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-
   <map:pipelines>
     <map:pipeline internal="true">
       <map:match type="regexp" pattern="^(.*?)([^/]*).xdoc$">
@@ -35,5 +34,4 @@
       </map:match>
     </map:pipeline>
   </map:pipelines>
-
 </map:sitemap>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/stylesheets/document-to-xdoc.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/stylesheets/document-to-xdoc.xsl?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/stylesheets/document-to-xdoc.xsl (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/stylesheets/document-to-xdoc.xsl Mon Apr  9 22:45:15 2007
@@ -24,39 +24,30 @@
 -->
 <xsl:stylesheet version="1.0" 
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
   <xsl:template match="/">
     <xsl:apply-templates select="//document"/>
   </xsl:template>
-
   <xsl:template match="document">
     <document>
       <xsl:apply-templates select="header"/>
       <xsl:apply-templates select="body"/>
     </document>
   </xsl:template>
-
   <xsl:template match="header">
     <properties>
       <xsl:apply-templates/>
     </properties>
   </xsl:template>
-
   <xsl:template match="tbody">
     <xsl:apply-templates/>
   </xsl:template>
-
-  <xsl:template match="body//link">
-    <a>
-      <xsl:copy-of select="@*"/>
-      <xsl:apply-templates/>
-    </a>
+  <xsl:template match="body//link"><a>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/></a>
   </xsl:template>
-
   <xsl:template match="@*|*|text()|processing-instruction()|comment()">
     <xsl:copy>
       <xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
     </xsl:copy>
   </xsl:template>
-
 </xsl:stylesheet>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/themes/common/html/content-anakia-link.ft
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/themes/common/html/content-anakia-link.ft?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/themes/common/html/content-anakia-link.ft (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/resources/themes/common/html/content-anakia-link.ft Mon Apr  9 22:45:15 2007
@@ -21,15 +21,17 @@
     content-anakia-link will output the XDOC link with image to the content in
     Anakia xdoc format.
   </description>
-  <usage><![CDATA[<forrest:contract name="content-anakia-link"/>]]></usage>
-  
+  <usage>
+<![CDATA[<forrest:contract name="content-anakia-link"/>]]>
+  </usage>
   <forrest:template xmlns:forrest="http://apache.org/forrest/templates/1.0" 
     format="html" name="content-anakia-link" inputFormat="xsl" body="true" head="false">
     <xsl:stylesheet version="1.1" 
       xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-      <xsl:template name="content-anakia-link-body">
-        <a href="{$filename-noext}.xdoc" class="format"> <img class="skin" 
-          src="{$skin-img-dir}/xmldoc.gif" alt="XML - icon" /><span
+      <xsl:template name="content-anakia-link-body"><a href="{$filename-noext}.xdoc" class="format">
+        <img class="skin" 
+          src="{$skin-img-dir}/xmldoc.gif" alt="XML - icon" />
+        <span
           class="caption">XDOC</span></a>
       </xsl:template>
     </xsl:stylesheet>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/index.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/index.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/index.xml Mon Apr  9 22:45:15 2007
@@ -29,22 +29,22 @@
         "xdoc" format, i.e. localhost:8888//index.xdoc
       </p>
       <p>
-        One use of this plugin is to export a Forrest-based site to Anakia "xdoc".
-        Forrest can then draw together source content in various formats and export
-        a set of consistent documents.
+        One use of this plugin is to export a Forrest-based site to Anakia
+        "xdoc". Forrest can then draw together source content in various formats
+        and export a set of consistent documents.
       </p>
       <p>
-        To do that you need a link from each page to its .xdoc version.
-        The easiest way to do that is with the new Dispatcher functionality.
-        A contract is provided at resources/themes/common/html/content-anakia-link.ft
+        To do that you need a link from each page to its .xdoc version. The
+        easiest way to do that is with the new Dispatcher functionality. A
+        contract is provided at
+        resources/themes/common/html/content-anakia-link.ft
       </p>
       <p>
-        The current "xdoc" output structure is specifically to be that
-        currently used at http://svn.apache.org/repos/asf/infrastructure/site
-        (produces the top-level website at apache.org)
-        which it seems does not have a DTD or other grammar.
+        The current "xdoc" output structure is specifically to be that currently
+        used at http://svn.apache.org/repos/asf/infrastructure/site (produces
+        the top-level website at apache.org) which it seems does not have a DTD
+        or other grammar.
       </p>
     </section>
-
   </body>
 </document>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/site.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/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.Anakia" 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.Anakia"/>
     <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"/>
@@ -56,5 +51,4 @@
       <plugins href="docs/plugins"/>
     </forrest>
   </external-refs>
-
 </site>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/tabs.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/content/xdocs/tabs.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/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.Anakia/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/skinconf.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/src/documentation/skinconf.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/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: Anakia output</project-name>
   <project-description>org.apache.forrest.plugin.output.Anakia plugin for Apache Forrest</project-description>
-
 </skinconfig>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/status.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/status.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Anakia/status.xml Mon Apr  9 22:45:15 2007
@@ -16,25 +16,22 @@
   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>
     <release version="0.1" date="not-released">
       <action dev="DC" type="update" context="code">
@@ -46,7 +43,6 @@
       </action>
     </release>
   </changes>
-
   <todo>
     <actions priority="high">
       <action context="code" dev="open">
@@ -55,5 +51,4 @@
       </action>
     </actions>
   </todo>
-
 </status>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/build.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/build.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/build.xml Mon Apr  9 22:45:15 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.output.Chart"/>
   <property name="forrest.version" value="0.7"/>
   <property name="type" value="output"/>
@@ -26,10 +25,8 @@
   <property name="websiteURL" value="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.output.Chart/"/>
   <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.output.Chart/output.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/output.xmap?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/output.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/output.xmap Mon Apr  9 22:45:15 2007
@@ -16,43 +16,38 @@
   limitations under the License.
 -->
 <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-
   <map:components>
-	<map:transformers>
-	  <map:transformer name="chart" src="org.krysalis.jcharts.xml.JChartTransformer"/>
-	</map:transformers>             
+    <map:transformers>
+      <map:transformer name="chart" src="org.krysalis.jcharts.xml.JChartTransformer"/>
+    </map:transformers>
     <map:serializers default="svg2png">
-       <map:serializer name="svg2jpeg" mime-type="image/jpeg" src="org.apache.cocoon.serialization.SVGSerializer">
-          <parameter name="quality" type="float" value="1.0" />
-       </map:serializer>
-       <map:serializer mime-type="image/png" 
+      <map:serializer name="svg2jpeg" mime-type="image/jpeg" src="org.apache.cocoon.serialization.SVGSerializer">
+        <parameter name="quality" type="float" value="1.0" />
+      </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"/> -->
-       </map:serializer>   
-     </map:serializers>
+<!--<parameter name="background_color" type="color" value="#ff00ff"/>-->
+<!-- <parameter name="gamma" type="float" value="0.48"/> -->
+      </map:serializer>
+    </map:serializers>
   </map:components>
-
-	<map:pipelines>
-	  <map:pipeline>
-	    <map:match pattern="do/draw_chart/**.svg">
-		  <map:generate src="cocoon://{1}.xml"/>
-          <map:transform type="xinclude"/>
-		  <map:transform type="chart"/>
-		  <map:serialize type="xml"/>
-		</map:match>
-		
-	    <map:match pattern="do/draw_chart/**.png">
-	      <map:generate src="cocoon:/do/draw_chart/{1}.svg"/>
-	      <map:serialize type="svg2png"/>
-	    </map:match>
-		
-	    <map:match pattern="do/draw_chart/**.jpg">
-	      <map:generate src="cocoon:/do/draw_chart/{1}.svg"/>
-	      <map:serialize type="svg2jpeg"/>
-	    </map:match>
-	  </map:pipeline>
-	</map:pipelines>
-
+  <map:pipelines>
+    <map:pipeline>
+      <map:match pattern="do/draw_chart/**.svg">
+        <map:generate src="cocoon://{1}.xml"/>
+        <map:transform type="xinclude"/>
+        <map:transform type="chart"/>
+        <map:serialize type="xml"/>
+      </map:match>
+      <map:match pattern="do/draw_chart/**.png">
+        <map:generate src="cocoon:/do/draw_chart/{1}.svg"/>
+        <map:serialize type="svg2png"/>
+      </map:match>
+      <map:match pattern="do/draw_chart/**.jpg">
+        <map:generate src="cocoon:/do/draw_chart/{1}.svg"/>
+        <map:serialize type="svg2jpeg"/>
+      </map:match>
+    </map:pipeline>
+  </map:pipelines>
 </map:sitemap>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/documentation/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/documentation/index.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/documentation/index.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/documentation/index.xml Mon Apr  9 22:45:15 2007
@@ -16,19 +16,19 @@
   limitations under the License.
 -->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-<document> 
-  <header> 
-    <title>Documentation for the org.apache.forrest.plugin.output.Chart Plugin</title> 
-  </header> 
-  <body> 
+<document>
+  <header>
+    <title>Documentation for the org.apache.forrest.plugin.output.Chart Plugin</title>
+  </header>
+  <body>
     <section id="chartDescriptor">
       <title>Chart Descriptor</title>
-      <p>The chart descriptor file describes how the chart is to be composed
-      and displayed. For example the chart displayed below is described by
-      <a href="/samples/graph1.xml">this chart descriptor</a>.</p>
-      
+      <p>
+        The chart descriptor file describes how the chart is to be composed and
+        displayed. For example the chart displayed below is described by
+        <a href="/samples/graph1.xml">this chart descriptor</a>.
+      </p>
       <figure src="/do/draw_chart/samples/graph1.png" alt="sample graph"/>
-      
     </section>
   </body>
-</document>
\ No newline at end of file
+</document>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/index.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/index.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/index.xml Mon Apr  9 22:45:15 2007
@@ -16,35 +16,37 @@
   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.Chart Plugin</title> 
-  </header> 
-  <body> 
+<document>
+  <header>
+    <title>Welcome to the org.apache.forrest.plugin.output.Chart Plugin</title>
+  </header>
+  <body>
     <section>
       <title>Apache Forrest - org.apache.forrest.plugin.output.Chart Plugin</title>
-      <p>This plugin provides charting for Apache Forrest by 
-      integrating <a href="http://jcharts.sourceforge.net/">JChart</a>
-      into Forrest.</p>
-      
-      <p><a href="samples/index.html">View a set of sample graphs</a>.</p>
+      <p>
+        This plugin provides charting for Apache Forrest by integrating
+        <a href="http://jcharts.sourceforge.net/">JChart</a> into Forrest.
+      </p>
+      <p>
+        <a href="samples/index.html">View a set of sample graphs</a>.
+      </p>
     </section>
-    
     <section>
       <title>Generating a Chart</title>
-      <p>To generate a chart simply use a URI in the following form:</p>
-      
+      <p>
+        To generate a chart simply use a URI in the following form:
+      </p>
       <source>/do/draw_chart/PATH_TO_CHART/CHART_NAME.CHART_TYPE</source>
-      
-      <p>Where <code>PATH_TO_CHART</code> is the normal path to the
-      <a href="documentation/index.html#chartDescriptor">chart descriptor</a>,
-      <code>CHART_NAME</code> is the name of the
-      <a href="documentation/index.html#chartDescriptor">chart descriptor file</a>
-      (without the <code>.xml</code> extension, and
-      <code>CHART_TYPE</code> is how you want the format in which the 
-      chart is to be returned (for example, <code>.png</code>, 
-      <code>.jpg</code> or <code>.svg</code>).</p>
+      <p>
+        Where <code>PATH_TO_CHART</code> is the normal path to the
+        <a href="documentation/index.html#chartDescriptor">chart descriptor</a>,
+        <code>CHART_NAME</code> is the name of the
+        <a href="documentation/index.html#chartDescriptor">chart descriptor
+        file</a> (without the <code>.xml</code> extension, and
+        <code>CHART_TYPE</code> is how you want the format in which the chart is
+        to be returned (for example, <code>.png</code>, <code>.jpg</code> or
+        <code>.svg</code>).
+      </p>
     </section>
-    
   </body>
-</document>
\ No newline at end of file
+</document>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/samples/areachart1.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/samples/areachart1.xml?view=diff&rev=527038&r1=527037&r2=527038
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/samples/areachart1.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.Chart/src/documentation/content/xdocs/samples/areachart1.xml Mon Apr  9 22:45:15 2007
@@ -16,109 +16,101 @@
   limitations under the License.
 -->
 <!-- add the type to the root element, so the program can decide which interpreter to call to interpret the rest of the sheet
-	It will of course also influence the renderer that is called. --> 
+	It will of course also influence the renderer that is called. -->
 <chartstyle type="areachart">
-	<lines>
-		<!-- The first line is for the first dataset in the graph
+  <lines>
+<!-- The first line is for the first dataset in the graph
 			The second line for the second one
 			etc. (you get the picture ;) ) -->
-		<line>
-			<!-- The style chapter - These elements are like the SVG style attributes. -->
-			<style>
-				<!-- The color (in RGB) -->
-				<stroke>
+    <line>
+<!-- The style chapter - These elements are like the SVG style attributes. -->
+      <style>
+<!-- The color (in RGB) -->
+        <stroke>
 					CC6666
 				</stroke>
-				<stroke-width>
+        <stroke-width>
 					1
 				</stroke-width>
-				<!-- etc ... all stroke-* of the SVG spec can be used here -->
-				
-			</style>
-			
-			<!-- attributes for a datapoint -->
-			<point>
-				<normal>
-					<!-- shape of the datapoint -->
-					<shape name="rectangle">
-						<width>10</width>
-						<height>5</height>
-					</shape>
-				</normal>
-				<!-- Which attributes to use for emphasized points --> 
-				<emphasized>
-					<!-- shape of the datapoint: An svg shape definition
+<!-- etc ... all stroke-* of the SVG spec can be used here -->
+      </style>
+<!-- attributes for a datapoint -->
+      <point>
+        <normal>
+<!-- shape of the datapoint -->
+          <shape name="rectangle">
+            <width>10</width>
+            <height>5</height>
+          </shape>
+        </normal>
+<!-- Which attributes to use for emphasized points -->
+        <emphasized>
+<!-- shape of the datapoint: An svg shape definition
 						The (0,0) point of this coordinate system will be translated to the datapoint of the
 						 chart. -->
-					<shape>
-						<circle style="fill:red;stroke:red;" cx="0" cy="0" r="1"/>
-					</shape>
-				</emphasized>
-			</point>
-			<region>
-				<!-- Define the fill of the region - see also the "style" element for line -->
-				<style>
-					<fill>
+          <shape>
+            <circle style="fill:red;stroke:red;" cx="0" cy="0" r="1"/>
+          </shape>
+        </emphasized>
+      </point>
+      <region>
+<!-- Define the fill of the region - see also the "style" element for line -->
+        <style>
+          <fill>
 						white
 					</fill>
-					<fillrule>
+          <fillrule>
 						nonzero
 					</fillrule>
-					<!-- etc -->
-					
-				</style>
-			</region>
-		</line>
-		
-		<line>
-			<!-- The style chapter - These elements are like the SVG style attributes. -->
-			<style>
-				<!-- The color (in RGB) -->
-				<stroke>
+<!-- etc -->
+        </style>
+      </region>
+    </line>
+    <line>
+<!-- The style chapter - These elements are like the SVG style attributes. -->
+      <style>
+<!-- The color (in RGB) -->
+        <stroke>
 					CCCC66
 				</stroke>
-				<stroke-width>
+        <stroke-width>
 					0.5
 				</stroke-width>
-				<!-- etc ... all stroke-* of the SVG spec can be used here -->
-				
-			</style>
-			
-			<!-- attributes for a datapoint -->
-			<point>
-				<normal>
-					<!-- shape of the datapoint: An svg shape definition
+<!-- etc ... all stroke-* of the SVG spec can be used here -->
+      </style>
+<!-- attributes for a datapoint -->
+      <point>
+        <normal>
+<!-- shape of the datapoint: An svg shape definition
 						The (0,0) point of this coordinate system will be translated to the actual datapoint on the
 						 chart. -->
-					<shape name="ellipse">
-						<width>5</width>
-						<height>10</height>
-					</shape>
-				</normal>
-				<!-- Which attributes to use for emphasized points --> 
-				<emphasized>
-					<!-- shape of the datapoint: An svg shape definition
+          <shape name="ellipse">
+            <width>5</width>
+            <height>10</height>
+          </shape>
+        </normal>
+<!-- Which attributes to use for emphasized points -->
+        <emphasized>
+<!-- shape of the datapoint: An svg shape definition
 						The (0,0) point of this coordinate system will be translated to the datapoint of the
 						 chart. -->
-					<shape>
-						<circle style="fill:red;stroke:red;" cx="0" cy="0" r="1"/>
-					</shape>
-				</emphasized>
-			</point>
-			<region>
-				<!-- Define the fill of the region - see also the "style" element for line -->
-				<style>
-					<fill>
+          <shape>
+            <circle style="fill:red;stroke:red;" cx="0" cy="0" r="1"/>
+          </shape>
+        </emphasized>
+      </point>
+      <region>
+<!-- Define the fill of the region - see also the "style" element for line -->
+        <style>
+          <fill>
 						white
 					</fill>
-					<fillrule>
+          <fillrule>
 						nonzero
 					</fillrule>
-					<!-- etc -->
-					
-				</style>
-			</region>
-		</line>		
-	</lines>
+<!-- etc -->
+        </style>
+      </region>
+    </line>
+  </lines>
 </chartstyle>
-



Mime
View raw message