You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2005/09/11 05:04:11 UTC

svn commit: r280062 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/samples/xhtml2_subset.xml

Author: crossley
Date: Sat Sep 10 20:04:07 2005
New Revision: 280062

URL: http://svn.apache.org/viewcvs?rev=280062&view=rev
Log:
Added sections for the remaining modules.
Submitted by: Gavin
Issue: FOR-655

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/samples/xhtml2_subset.xml

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/samples/xhtml2_subset.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/samples/xhtml2_subset.xml?rev=280062&r1=280061&r2=280062&view=diff
==============================================================================
--- 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 Sat Sep 10 20:04:07 2005
@@ -36,6 +36,9 @@
 <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>
@@ -96,7 +99,7 @@
 <section><h>8.9 The separator element</h>
 <separator />
 <p>The separator element replaces the 'br' tag</p>
-<p>Explain why here ...</p>
+<l class="todo">Todo:[Gav] Explain why here ...</l>
 <separator />
 </section>
 </section>
@@ -182,7 +185,13 @@
 <section><h>9.12 The sub element</h>
 <p>The <sub>sub</sub> element is used for subscript.</p>
 </section>
-<section><h></h></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>
@@ -196,13 +205,115 @@
 <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>
+   <dt>Forrest</dt>
+   <dd> An excellent collaborative open source package!</dd>
+   <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 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>12 XHTML Core Atttributes Module</h>
+<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>More sections to come....</h>
+<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>