forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r280062 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/samples/xhtml2_subset.xml
Date Sun, 11 Sep 2005 03:04:11 GMT
Author: crossley
Date: Sat Sep 10 20:04:07 2005
New Revision: 280062

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
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.xhtml2/src/documentation/content/xdocs/samples/xhtml2_subset.xml
+++ 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="">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 />
@@ -182,7 +185,13 @@
 <section><h>9.12 The sub element</h>
 <p>The <sub>sub</sub> element is used for subscript.</p>
+<section><h>9.13 The sup element</h>
+<p>The <sup>sup</sup> element is used for superscript</p>
+<section><h>9.14 The var element</h>
+<p>The parameter <var>ncols</var> represents
+the number of colors to use.</p>
 <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>
+   <dt>Forrest</dt>
+   <dt>Forrest</dt>
+   <dd> An excellent collaborative open source package!</dd>
+   <dd> A group of trees larger than a 'wood' .</dd>
+<l class="todo">Todo:[Gav] - Example code needed.</l>
+<section><h>11.2 The <em>nl</em> element.</h>
+   <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>
+   ...
+<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>
+   <li>... first unordered list item...</li>
+   <li>... second unordered list item...</li>
+   ...
+   <li>... first ordered list item...</li>
+   <li>... second ordered list item...</li>
+   ...
+<section><h>11.4 The <em>li</em> element.</h>
+<l>List items contained within ordered or unordered lists, or within navigation lists
+<l>See Section 11.2 and 11.3 for examples.</l>
+<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><h>11.6 Known Issues for section 11 elements.</h>
+<p>For the latest issues visit <a href=""></a></p>
+<separator />
+<section><h href="">12 XHTML Core Attributes
+<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>
+<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=""
title=" xhtml2 mod-core"></a>'s site.</l>
+      <l>code example of above is : <code>&lt;l&gt;More information on
this at &lt;a href=&quot;;
title=&quot; xhtml2 mod-core&quot;&gt;;/a&gt; site.&lt;/l&gt;</code></l>
+<separator />
+<section><h>13 XHTML Hypertext Attributes Module</h>
+<l>The collection of attributes contains :-</l>
+       <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>
+<l class="todo"> Todo:[Gav] - Create examples for above attributes </l>
+<separator />
+<section><h href="">17 XHTML Embedding
Attributes Module.</h>
+<l class="todo"> Todo:[Gav] - List and create examples.</l>
 <separator />
-<section><h>12 XHTML Core Atttributes Module</h>
+<section><h href="">22 XHTML Metainformation
+<l class="todo"> Todo:[Gav] - List and create examples, sub sections involved.</l>
 <separator />
-<section><h>More sections to come....</h>
+<section><h href="">23 XHTML
Metainformation Attributes Module</h>
+<l class="todo"> Todo:[Gav] - List and create examples, contains 4 sub-sections, many
attribute values!</l>
+<separator />
+<section><h href="">29 XHTML Tables
+<l class="todo"> Todo:[Gav] - List and create examples, contains 8 sub sections.</l>
+<separator />
+<section><h href="">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>
 <separator />

View raw message