You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-svn@forrest.apache.org by cr...@apache.org on 2007/04/10 06:44:05 UTC
svn commit: r527020 [12/20] - in /forrest/site: ./ docs_0_80/
docs_0_80/howto/ docs_0_80/howto/cvs-ssh/ docs_0_80/howto/multi/ dtdx/
plan/ pluginDocs/plugins_0_70/ pluginDocs/plugins_0_80/ procedures/
procedures/release/ skins/ tools/
Modified: forrest/site/dtdx/document-v12.html
URL: http://svn.apache.org/viewvc/forrest/site/dtdx/document-v12.html?view=diff&rev=527020&r1=527019&r2=527020
==============================================================================
--- forrest/site/dtdx/document-v12.html (original)
+++ forrest/site/dtdx/document-v12.html Mon Apr 9 21:44:00 2007
@@ -314,8 +314,10 @@
<input value="+a" class="biggerfont" title="Enlarge text" onclick="ndeSetTextSize('incr'); return false;" type="button">
</div>
<h1>The document-v1.2 DTD</h1>
-<div class="abstract">A nonsense document using all possible elements in the current
- document-v12.dtd.</div>
+<div class="abstract">
+ A nonsense document using all possible elements in the current
+ document-v12.dtd.
+ </div>
<div id="minitoc-area">
<ul class="minitoc">
<li>
@@ -347,15 +349,16 @@
</ul>
</li>
</ul>
-</div>
+</div>
<div class="note">
<div class="label">Note</div>
-<div class="content">The document-v12 has been superceded by
+<div class="content">
+ The document-v12 has been superceded by
<a href="../docs_0_70/../dtdx/document-v13.html">document-v13</a>
</div>
-</div>
+</div>
<a name="N1001D"></a><a name="Changes+since+document-v11"></a>
<h2 class="underlined_10">Changes since document-v11</h2>
@@ -395,77 +398,80 @@
<h2 class="underlined_10">Sample Content</h2>
<div class="section">
<p>
+
<strong>Hint:</strong> See the xml source to see how the various
- elements are used and see the
- <a href="../docs_0_70/../dtdx/dtd-docs.html">DTD documentation</a>.
+ elements are used and see the <a href="../docs_0_70/../dtdx/dtd-docs.html">DTD
+ documentation</a>.
+ </p>
+<p>
+ This is a simple paragraph. Most documents contain a fair amount of
+ paragraphs. Paragraphs are called <span class="codefrag"><p></span>.
</p>
-<p>This is a simple paragraph. Most documents contain a fair amount of
- paragraphs. Paragraphs are called <span class="codefrag"><p></span>.</p>
-<div class="pre">With the <span class="codefrag"><p xml:space="preserve"></span> attribute, you can declare
+<div class="pre">
+ With the <span class="codefrag"><p xml:space="preserve"></span> attribute, you can declare
that whitespace should be preserved, without implying it is in any other
- way special.</div>
-<p>A number of in-line elements are available in the DTD, we will show them
- inside an unordered list (<span class="codefrag"><ul></span>):</p>
-<ul>
+ way special.
+ </div>
+<p>
+ A number of in-line elements are available in the DTD, we will show them
+ inside an unordered list (<span class="codefrag"><ul></span>):
+ </p>
+<ul>
-<li>Here is a simple list item (<span class="codefrag"><li></span>).</li>
+<li>Here is a simple list item (<span class="codefrag"><li></span>).</li>
<li>Have you seen the use of the <span class="codefrag"><code></span> element in the
- previous item?</li>
+ previous item?</li>
<li>Also, we have <span class="codefrag"><sub></span> and <span class="codefrag"><sup></span>
elements to show content <sup>above</sup> or <sub>below</sub> the text
- baseline.</li>
+ baseline.</li>
<li>There is a facility to <em>emphasize</em> certain words using the
- <span class="codefrag"><em></span> <strong><span class="codefrag"><strong></span></strong>
- elements.</li>
+ <span class="codefrag"><em></span><strong><span class="codefrag"><strong></span></strong>
+ elements.</li>
<li>We can use
- <img class="icon" alt="feather" height="22" src="images/icon.png" width="26">
- <span class="codefrag"><icon></span>s, too.</li>
+ <img class="icon" alt="feather" height="22" src="images/icon.png" width="26"><span class="codefrag"><icon></span>s, too.</li>
<li>Another possibility is the <span class="codefrag"><img></span> element:
<img alt="another feather" height="22" src="images/icon.png" width="26">,
- which offers the ability to refer to an image map.</li>
+ which offers the ability to refer to an image map.</li>
<li>We have elements for hyperlinking:
- <dl>
+ <dl>
<dt>
<span class="codefrag"><link href="../index.html"></span>
-</dt>
+</dt>
<dd>Use this to
<a href="../index.html" title="Example of a document via link">link</a>
to another document. As per normal, this will open the new document
- in the same browser window.</dd>
-
+ in the same browser window.</dd>
<dt>
<span class="codefrag"><link href="#section"></span>
-</dt>
+</dt>
<dd>Use this to
<a href="#section" title="Example of a document via local anchor">link</a>
to the named anchor in the current document.
- </dd>
-
+ </dd>
<dt>
<span class="codefrag"><link href="../index.html#History"></span>
-</dt>
+</dt>
<dd>Use this to
<a href="../index.html#History" title="Example of a document via link and anchor">link</a>
to another document and go to the named anchor. This will open
the new document in the same browser window.
- </dd>
-
+ </dd>
<dt>
<span class="codefrag"><jump href="../index.html"></span>
-</dt>
+</dt>
<dd>Use this to
<a target="_top" href="../index.html">jump</a>
@@ -477,13 +483,11 @@
in the current window.
This is the equivalent of
<span class="codefrag"><a ... target="_top"></span>
-
</dd>
-
<dt>
<span class="codefrag"><fork href="../index.html"></span>
-</dt>
+</dt>
<dd>Use this to
<a target="_blank" href="../index.html">fork</a>
@@ -491,20 +495,18 @@
in a new, unnamed browser window.
This is the equivalent of
<span class="codefrag"><a ... target="_blank"></span>
-
-</dd>
-
+</dd>
+
</dl>
-</li>
-
+</li>
<li>Oh, by the way, a definition list <span class="codefrag"><dl></span> was used inside
the previous list item. We could put another
- <ul>
+ <ul>
-<li>unordered list</li>
+<li>unordered list</li>
-<li>inside the list item</li>
+<li>inside the list item</li>
</ul>
@@ -513,61 +515,84 @@
<caption>A sample nested table</caption>
<tr>
-<td colspan="1" rowspan="1">Or even tables</td><td colspan="1" rowspan="1">inside lists</td>
+
+<td colspan="1" rowspan="1">Or even tables</td>
+ <td colspan="1" rowspan="1">inside lists</td>
+
</tr>
</table>
-
</li>
</ul>
-<p>So far for the in-line elements, let's look at some paragraph-level
- elements.</p>
+<p>
+ So far for the in-line elements, let's look at some paragraph-level
+ elements.
+ </p>
<div class="fixme">
<div class="label">Fixme (SN)</div>
-<div class="content">The <span class="codefrag"><fixme></span> element is used for stuff
- which still needs work. Mind the <span class="codefrag">author</span> attribute!</div>
+<div class="content">
+ The <span class="codefrag"><fixme></span> element is used for stuff which still
+ needs work. Mind the <span class="codefrag">author</span> attribute!
+ </div>
</div>
<div class="note">
<div class="label">Note</div>
-<div class="content">Use the <span class="codefrag"><note></span> element to draw attention to something, e.g. ...The <span class="codefrag"><code></span> element is used when the author can't
- express himself clearly using normal sentences ;-)</div>
+<div class="content">
+ Use the <span class="codefrag"><note></span> element to draw attention to
+ something, e.g. ...The <span class="codefrag"><code></span> element is used when
+ the author can't express himself clearly using normal sentences ;-)
+ </div>
</div>
<div class="warning">
<div class="label">Warning</div>
-<div class="content">Sleep deprivation can be the result of being involved in an open
- source project. (a.k.a. the <span class="codefrag"><warning></span> element).</div>
+<div class="content">
+ Sleep deprivation can be the result of being involved in an open source
+ project. (a.k.a. the <span class="codefrag"><warning></span> element).
+ </div>
</div>
<div class="note">
<div class="label">Important</div>
-<div class="content">If you want your own labels for notes and warnings, specify them
- using the <span class="codefrag">label</span> attribute.</div>
+<div class="content">
+ If you want your own labels for notes and warnings, specify them using
+ the <span class="codefrag">label</span> attribute.
+ </div>
</div>
-<p>Apart from unordered lists, we have ordered lists too, of course.</p>
-<ol>
+<p>
+ Apart from unordered lists, we have ordered lists too, of course.
+ </p>
+<ol>
-<li>Item 1</li>
+<li>Item 1</li>
-<li>Item 2</li>
+<li>Item 2</li>
-<li>This should be 3 if my math is still OK.</li>
+<li>This should be 3 if my math is still OK.</li>
</ol>
-<a name="section" id="section"></a><a name="N1013B"></a><a name="Using+sections"></a>
+<a name="section" id="section"></a><a name="N1013A"></a><a name="Using+sections"></a>
<h3 class="underlined_5">Using sections</h3>
-<p>You can use sections to put some structure in your document. For some
+<p>
+ You can use sections to put some structure in your document. For some
strange historical reason, the section title is an attribute of the
- <span class="codefrag"><section></span> element.</p>
-<a name="N10148"></a><a name="Sections%2C+the+sequel"></a>
+ <span class="codefrag"><section></span> element.
+ </p>
+<a name="N10147"></a><a name="Sections%2C+the+sequel"></a>
<h3 class="underlined_5">Sections, the sequel</h3>
-<p>Just some second section.</p>
-<a name="N10151"></a><a name="Section+2.1"></a>
+<p>
+ Just some second section.
+ </p>
+<a name="N10150"></a><a name="Section+2.1"></a>
<h4>Section 2.1</h4>
-<p>Which contains a subsection (2.1).</p>
-<a name="source" id="source"></a><a name="N1015F"></a><a name="Showing+preformatted+source+code"></a>
+<p>
+ Which contains a subsection (2.1).
+ </p>
+<a name="source" id="source"></a><a name="N1015E"></a><a name="Showing+preformatted+source+code"></a>
<h3 class="underlined_5">Showing preformatted source code</h3>
-<p>Enough about these sections. Let's have a look at more interesting
- elements, <span class="codefrag"><source></span> for instance:</p>
+<p>
+ Enough about these sections. Let's have a look at more interesting
+ elements, <span class="codefrag"><source></span> for instance:
+ </p>
<pre class="code">// This example is from the book _Java in a Nutshell_ by David Flanagan.
// Written by David Flanagan. Copyright (c) 1996 O'Reilly & Associates.
// You may study, use, modify, and distribute this example for any purpose.
@@ -583,28 +608,32 @@
g.drawString("Hello World", 25, 50);
}
}</pre>
-<p>Please take care to still use a sensible line-length within your
- source elements.</p>
-<a name="N10173"></a><a name="table"></a>
+<p>
+ Please take care to still use a sensible line-length within your
+ source elements.
+ </p>
+<a name="N10172"></a><a name="table"></a>
<h3 class="underlined_5">Using tables</h3>
-<p>And now for a table:</p>
-<table class="ForrestTable" cellspacing="1" cellpadding="4">
+<p>
+ And now for a table:
+ </p>
+<table class="ForrestTable" cellspacing="1" cellpadding="4">
-<caption>Table caption</caption>
+<caption>Table caption</caption>
-<tr>
+<tr>
-<th colspan="1" rowspan="1">heading cell</th>
- <th colspan="1" rowspan="1">heading cell</th>
+<th colspan="1" rowspan="1">heading cell</th>
+ <th colspan="1" rowspan="1">heading cell</th>
-</tr>
+</tr>
-<tr>
+<tr>
-<td colspan="1" rowspan="1">data cell</td>
- <td colspan="1" rowspan="1">data cell</td>
+<td colspan="1" rowspan="1">data cell</td>
+ <td colspan="1" rowspan="1">data cell</td>
-</tr>
+</tr>
<tr>
@@ -614,7 +643,9 @@
<td colspan="1" rowspan="1">
<ul>
+
<li>and can include most other elements, like lists</li>
+
</ul>
</td>
@@ -622,12 +653,14 @@
</tr>
</table>
-<p>Not much of attributes with <span class="codefrag"><table></span>, if you ask me.</p>
-<a name="second-figure-anchor" id="second-figure-anchor"></a><a name="N101B7"></a><a name="figure"></a>
+<p>
+ Not much of attributes with <span class="codefrag"><table></span>, if you ask me.
+ </p>
+<a name="second-figure-anchor" id="second-figure-anchor"></a><a name="N101B8"></a><a name="figure"></a>
<h3 class="underlined_5">Using figures</h3>
-<p>And a <span class="codefrag"><figure></span> to end all of this.
- Note that this can also be implemented with an
- <span class="codefrag"><img></span> element.
+<p>
+ And a <span class="codefrag"><figure></span> to end all of this. Note that this
+ can also be implemented with an <span class="codefrag"><img></span> element.
</p>
<div id="" style="text-align: center;">
<img id="" class="figure" alt="The fine Forrest logo" src="images/project-logo.png" height="65" width="220"></div>
Modified: forrest/site/dtdx/document-v12.pdf
URL: http://svn.apache.org/viewvc/forrest/site/dtdx/document-v12.pdf?view=diff&rev=527020&r1=527019&r2=527020
==============================================================================
Binary files - no diff available.
Modified: forrest/site/dtdx/document-v13.html
URL: http://svn.apache.org/viewvc/forrest/site/dtdx/document-v13.html?view=diff&rev=527020&r1=527019&r2=527020
==============================================================================
--- forrest/site/dtdx/document-v13.html (original)
+++ forrest/site/dtdx/document-v13.html Mon Apr 9 21:44:00 2007
@@ -314,8 +314,9 @@
<input value="+a" class="biggerfont" title="Enlarge text" onclick="ndeSetTextSize('incr'); return false;" type="button">
</div>
<h1>The Apache Forrest xdocs document-v1.3 DTD</h1>
-<div class="abstract">This is a demonstration document using all possible elements in
- the current Apache Forrest xdocs document-v13.dtd
+<div class="abstract">
+ This is a demonstration document using all possible elements in the
+ current Apache Forrest xdocs document-v13.dtd
</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -362,14 +363,14 @@
</ul>
</li>
</ul>
-</div>
+</div>
<div class="note">
<div class="label">Note</div>
<div class="content">
This is a demonstration document using all possible elements in the
- current Apache Forrest xdocs <span class="codefrag">document-v13.dtd</span>
- (See the <a href="#changes">DTD changes</a> section at the bottom.)
+ current Apache Forrest xdocs <span class="codefrag">document-v13.dtd</span> (See the
+ <a href="#changes">DTD changes</a> section at the bottom.)
</div>
</div>
@@ -377,95 +378,97 @@
<h2 class="underlined_10">Sample Content</h2>
<div class="section">
<p>
+
<strong>Hint:</strong> See the xml source to see how the various
- elements are used and see the
- <a href="../docs_0_80/../dtdx/dtd-docs.html">DTD reference documentation</a>.
+ elements are used and see the <a href="../docs_0_80/../dtdx/dtd-docs.html">DTD reference
+ documentation</a>.
</p>
-<a name="N1002F"></a><a name="block-inline"></a>
+<a name="N10030"></a><a name="block-inline"></a>
<h3 class="underlined_5">Block and inline elements</h3>
-<p>This is a simple paragraph. Most documents contain a fair amount of
- paragraphs. Paragraphs are called <span class="codefrag"><p></span>.</p>
-<div class="pre">With the <span class="codefrag"><p xml:space="preserve"></span> attribute, you can declare
- that whitespace should be preserved, without implying it is in any other
- way special.</div>
-<p>
- This next paragraph has a class attribute of 'quote'. CSS can
- be used to present this <span class="codefrag"><p class='quote'></span> in
- a different style than the other paragraphs. The handling of
- this quoted paragraph is defined in the <extra-css>
- element in the skinconf.xml.
- </p>
+<p>
+ This is a simple paragraph. Most documents contain a fair amount of
+ paragraphs. Paragraphs are called <span class="codefrag"><p></span>.
+ </p>
+<div class="pre">
+ With the <span class="codefrag"><p xml:space="preserve"></span> attribute, you can declare
+ that whitespace should be preserved, without implying it is in any other
+ way special.
+ </div>
+<p>
+ This next paragraph has a class attribute of 'quote'. CSS can be used
+ to present this <span class="codefrag"><p class='quote'></span> in a different
+ style than the other paragraphs. The handling of this quoted paragraph
+ is defined in the <extra-css> element in the skinconf.xml.
+ </p>
<p class="quote">
- Anyway, like I was sayin', shrimp is the fruit of the sea. You can
- barbecue it, boil it, broil it, bake it, sautee it. Dey's uh,
- shrimp-kabobs, shrimp creole, shrimp gumbo. Pan fried, deep fried,
- stir-fried. There's pineapple shrimp, lemon shrimp, coconut shrimp,
- pepper shrimp, shrimp soup, shrimp stew, shrimp salad, shrimp and
- potatoes, shrimp burger, shrimp sandwich. That- that's about it.
- </p>
-<p>A number of in-line elements are available in the DTD, we will show them
- inside an unordered list (<span class="codefrag"><ul></span>):</p>
-<ul>
-
-<li>Here is a simple list item (<span class="codefrag"><li></span>).</li>
-
+ Anyway, like I was sayin', shrimp is the fruit of the sea. You can
+ barbecue it, boil it, broil it, bake it, sautee it. Dey's uh,
+ shrimp-kabobs, shrimp creole, shrimp gumbo. Pan fried, deep fried,
+ stir-fried. There's pineapple shrimp, lemon shrimp, coconut shrimp,
+ pepper shrimp, shrimp soup, shrimp stew, shrimp salad, shrimp and
+ potatoes, shrimp burger, shrimp sandwich. That- that's about it.
+ </p>
+<p>
+ A number of in-line elements are available in the DTD, we will show
+ them inside an unordered list (<span class="codefrag"><ul></span>):
+ </p>
+<ul>
+
+<li>Here is a simple list item (<span class="codefrag"><li></span>).</li>
+
<li>Have you seen the use of the <span class="codefrag"><code></span> element in the
- previous item?</li>
-
+ previous item?</li>
+
<li>Also, we have <span class="codefrag"><sub></span> and <span class="codefrag"><sup></span>
elements to show content <sup>above</sup> or <sub>below</sub> the text
- baseline.</li>
-
+ baseline.</li>
+
<li>There is a facility to <em>emphasize</em> certain words using the
- <span class="codefrag"><em></span> <strong><span class="codefrag"><strong></span></strong>
- elements.</li>
-
+ <span class="codefrag"><em></span><strong><span class="codefrag"><strong></span></strong>
+ elements.</li>
+
<li>We can use
- <img class="icon" alt="feather" height="22" src="images/icon.png" width="26">
- <span class="codefrag"><icon></span>s too.</li>
-
+ <img class="icon" alt="feather" height="22" src="images/icon.png" width="26"><span class="codefrag"><icon></span>s too.</li>
+
<li>Another possibility is the <span class="codefrag"><img></span> element:
<img alt="another feather" height="22" src="images/icon.png" width="26">,
- which offers the ability to refer to an image map.</li>
-
+ which offers the ability to refer to an image map.</li>
+
<li>We have elements for hyperlinking:
- <dl>
-
+ <dl>
+
<dt>
<span class="codefrag"><link href="../index.html"></span>
-</dt>
-
+</dt>
+
<dd>Use this to
<a href="../index.html" title="Example of a document via link">link</a>
to another document. As per normal, this will open the new document
- in the same browser window.</dd>
-
-
+ in the same browser window.</dd>
+
<dt>
<span class="codefrag"><link href="#section"></span>
-</dt>
-
+</dt>
+
<dd>Use this to
<a href="#section" title="Example of a document via local anchor">link</a>
to the named anchor in the current document.
- </dd>
-
-
+ </dd>
+
<dt>
<span class="codefrag"><link href="../index.html#History"></span>
-</dt>
-
+</dt>
+
<dd>Use this to
<a href="../index.html#History" title="Example of a document via link and anchor">link</a>
to another document and go to the named anchor. This will open
the new document in the same browser window.
- </dd>
-
-
+ </dd>
+
<dt>
<span class="codefrag"><jump href="../index.html"></span>
-</dt>
-
+</dt>
+
<dd>Use this to
<a target="_top" href="../index.html">jump</a>
to another document and optionally go to a named
@@ -476,196 +479,209 @@
in the current window.
This is the equivalent of
<span class="codefrag"><a ... target="_top"></span>
-
</dd>
-
-
+
<dt>
<span class="codefrag"><fork href="../index.html"></span>
-</dt>
-
+</dt>
+
<dd>Use this to
<a target="_blank" href="../index.html">fork</a>
your webbrowser to another document. This will open the document
in a new, unnamed browser window.
This is the equivalent of
<span class="codefrag"><a ... target="_blank"></span>
+</dd>
-</dd>
-
</dl>
-</li>
-
-
+</li>
+
<li>Oh, by the way, a definition list <span class="codefrag"><dl></span> was used inside
the previous list item. We could put another
- <ul>
-
-<li>unordered list</li>
+ <ul>
+
+<li>unordered list</li>
+
+<li>inside the list item</li>
-<li>inside the list item</li>
-
</ul>
-
-<table class="ForrestTable" cellspacing="1" cellpadding="4">
+<table class="ForrestTable" cellspacing="1" cellpadding="4">
+
<caption>A sample nested table</caption>
-
+
<tr>
-<td colspan="1" rowspan="1">Or even tables.. </td><td colspan="1" rowspan="1">
+<td colspan="1" rowspan="1">Or even tables.. </td>
+ <td colspan="1" rowspan="1">
+
<table class="ForrestTable" cellspacing="1" cellpadding="4">
+
<tr>
+
<td colspan="1" rowspan="1">inside tables..</td>
+
</tr>
+
</table>
-
+
</td>
+
</tr>
-
+
<tr>
+
<td colspan="1" rowspan="1">or inside lists, but I believe this liberty gets quickly quite
hairy as you see.</td>
+
</tr>
-
+
</table>
-
</li>
-
+
</ul>
-<p>So far for the in-line elements, let's look at some paragraph-level
- elements.</p>
+<p>
+ So far for the in-line elements, let's look at some paragraph-level
+ elements.
+ </p>
<div class="fixme">
<div class="label">Fixme (SN)</div>
-<div class="content">The <span class="codefrag"><fixme></span> element is used for stuff
- which still needs work. Mind the <span class="codefrag">author</span> attribute!</div>
+<div class="content">
+ The <span class="codefrag"><fixme></span> element is used for stuff which still
+ needs work. Mind the <span class="codefrag">author</span> attribute!
+ </div>
</div>
<div class="note">
<div class="label">Note</div>
-<div class="content">Use the <span class="codefrag"><note></span> element to draw attention to something, e.g. ...The <span class="codefrag"><code></span> element is used when the author can't
- express himself clearly using normal sentences ;-)</div>
+<div class="content">
+ Use the <span class="codefrag"><note></span> element to draw attention to
+ something, e.g. ...The <span class="codefrag"><code></span> element is used when
+ the author can't express himself clearly using normal sentences ;-)
+ </div>
</div>
<div class="warning">
<div class="label">Warning</div>
-<div class="content">Sleep deprivation can be the result of being involved in an open
- source project. (a.k.a. the <span class="codefrag"><warning></span> element).
- </div>
+<div class="content">
+ Sleep deprivation can be the result of being involved in an open
+ source project. (a.k.a. the <span class="codefrag"><warning></span> element).
+ </div>
</div>
<div class="note">
<div class="label">Important</div>
-<div class="content">If you want your own labels for notes and
- warnings, specify them using the <span class="codefrag">label</span> attribute.
- </div>
+<div class="content">
+ If you want your own labels for notes and warnings, specify them using
+ the <span class="codefrag">label</span> attribute.
+ </div>
</div>
-<p>Apart from unordered lists, we have ordered lists too, of course.</p>
-<ol>
-
-<li>Item 1</li>
-
-<li>Item 2</li>
+<p>
+ Apart from unordered lists, we have ordered lists too, of course.
+ </p>
+<ol>
+
+<li>Item 1</li>
+
+<li>Item 2</li>
+
+<li>This should be 3 if my math is still OK.</li>
-<li>This should be 3 if my math is still OK.</li>
-
</ol>
-<a name="N10140"></a><a name="presentations"></a>
+<a name="N10145"></a><a name="presentations"></a>
<h3 class="underlined_5">Various presentation formats</h3>
-<p>This sample document, written in document-v13 XML can be presented
- via Forrest in a number of different formats. The links in the
- following list show this document in each of the currently available
- formats.</p>
-<p>Each of the formats can be made available as a link near the top of
- the page. Actual placement of those links depends on the skin
- currently in use. Those links are enabled in the skinconf.xml via the
- <disable-XXX-link> elements in the skinconf.xml</p>
+<p>
+ This sample document, written in document-v13 XML can be presented via
+ Forrest in a number of different formats. The links in the following
+ list show this document in each of the currently available formats.
+ </p>
+<p>
+ Each of the formats can be made available as a link near the top of
+ the page. Actual placement of those links depends on the skin
+ currently in use. Those links are enabled in the skinconf.xml via the
+ <disable-XXX-link> elements in the skinconf.xml
+ </p>
<table class="ForrestTable" cellspacing="1" cellpadding="4">
<tr>
<th colspan="1" rowspan="1">Presentation Format</th>
-
<th colspan="1" rowspan="1">Description</th>
-
<th colspan="1" rowspan="1">skinconf.xml Element</th>
</tr>
-
<tr>
-<td colspan="1" rowspan="1"><a href="document-v13.html">HTML</a></td>
-
+<td colspan="1" rowspan="1"><a href="document-v13.html">HTML</a>
+ </td>
<td colspan="1" rowspan="1">This document in HTML format. </td>
-
<td colspan="1" rowspan="1">Always generated by default. Cannot be turned off.</td>
</tr>
-
<tr>
-<td colspan="1" rowspan="1"><a href="document-v13.xml">XML</a></td>
-
+<td colspan="1" rowspan="1"><a href="document-v13.xml">XML</a>
+ </td>
<td colspan="1" rowspan="1">This document in its raw XML format.</td>
-
<td colspan="1" rowspan="1"><disable-xml-link>. By default, set to true, meaning
that this link will not be shown.</td>
</tr>
-
<tr>
-<td colspan="1" rowspan="1"><a href="document-v13.pdf">PDF</a></td>
-
+<td colspan="1" rowspan="1"><a href="document-v13.pdf">PDF</a>
+ </td>
<td colspan="1" rowspan="1">This document as Adobe PDF</td>
-
<td colspan="1" rowspan="1"><disable-pdf-link>. By default, set to false, meaning
that this link will be shown.</td>
</tr>
-
<tr>
<td colspan="1" rowspan="1">Text</td>
-
<td colspan="1" rowspan="1">This document as straight text.</td>
-
<td colspan="1" rowspan="1"><disable-txt-link>. By default, set to true, meaning
that this link will not be shown. NOT YET IMPLEMENTED.</td>
</tr>
-
<tr>
-<td colspan="1" rowspan="1"><a href="document-v13.pod">POD</a></td>
-
+<td colspan="1" rowspan="1"><a href="document-v13.pod">POD</a>
+ </td>
<td colspan="1" rowspan="1">This document as Perl POD (Plain Old Documentation). Text with
minimal formatting directives. If on a *nix system with perl
installed, see "man perlpod".</td>
-
<td colspan="1" rowspan="1"><disable-pod-link>. By default, set to true, meaning
that this link will not be shown.</td>
</tr>
</table>
-<a name="N101C4"></a><a name="section"></a>
+<a name="N101CD"></a><a name="section"></a>
<h3 class="underlined_5">Using sections</h3>
-<p>You can use sections to put some structure in your document. For some
+<p>
+ You can use sections to put some structure in your document. For some
strange historical reason, the section title is an attribute of the
- <span class="codefrag"><section></span> element.</p>
-<a name="N101D1"></a><a name="sub-section"></a>
+ <span class="codefrag"><section></span> element.
+ </p>
+<a name="N101DA"></a><a name="sub-section"></a>
<h3 class="underlined_5">Sections, the sequel</h3>
-<p>Just some second section.</p>
-<a name="N101DA"></a><a name="sub-sub-section"></a>
+<p>
+ Just some second section.
+ </p>
+<a name="N101E3"></a><a name="sub-sub-section"></a>
<h4>Section 2.1</h4>
-<p>Which contains a subsection (2.1).</p>
-<a name="N101E5"></a><a name="source"></a>
+<p>
+ Which contains a subsection (2.1).
+ </p>
+<a name="N101EE"></a><a name="source"></a>
<h3 class="underlined_5">Showing preformatted source code</h3>
-<p>Enough about these sections. Let's have a look at more interesting
- elements, <span class="codefrag"><source></span> for instance:</p>
+<p>
+ Enough about these sections. Let's have a look at more interesting
+ elements, <span class="codefrag"><source></span> for instance:
+ </p>
<pre class="code">
// This example is from the book _Java in a Nutshell_ by David Flanagan.
// Written by David Flanagan. Copyright (c) 1996 O'Reilly & Associates.
@@ -682,21 +698,27 @@
g.drawString("Hello World", 25, 50);
}
}</pre>
-<p>CDATA sections are used within
- <span class="codefrag"><source></span> elements so that you can write pointy
- brackets without needing to escape them with messy
- <span class="codefrag">&lt;</span> entities ...
+<p>
+ CDATA sections are used within <span class="codefrag"><source></span> elements so
+ that you can write pointy brackets without needing to escape them with
+ messy <span class="codefrag">&lt;</span> entities ...
</p>
<pre class="code">
+
<pointy>
easy
</pointy>
-</pre>
-<p>Please take care to still use a sensible line-length within your
- source elements.</p>
-<a name="N10206"></a><a name="table"></a>
+
+ </pre>
+<p>
+ Please take care to still use a sensible line-length within your
+ source elements.
+ </p>
+<a name="N1020F"></a><a name="table"></a>
<h3 class="underlined_5">Using tables</h3>
-<p>And now for a table:</p>
+<p>
+ And now for a table:
+ </p>
<table class="ForrestTable" cellspacing="1" cellpadding="4">
<caption>Table caption</caption>
@@ -730,7 +752,7 @@
<th colspan="1" rowspan="1">column 1</th>
<th colspan="1" rowspan="1">column 2</th>
-</tr>
+</tr>
<tr>
@@ -745,8 +767,11 @@
<td colspan="1" rowspan="1">
<ul>
+
<li>and can include most other elements</li>
+
<li>such as lists</li>
+
</ul>
</td>
@@ -754,31 +779,31 @@
</tr>
</table>
-<a name="second-figure-anchor" id="second-figure-anchor"></a><a name="N1026D"></a><a name="figure"></a>
+<a name="second-figure-anchor" id="second-figure-anchor"></a><a name="N10279"></a><a name="figure"></a>
<h3 class="underlined_5">Using figures</h3>
-<p>And a <span class="codefrag"><figure></span> to end all of this.
- Note that this can also be implemented with an
- <span class="codefrag"><img></span> element.
+<p>
+ And a <span class="codefrag"><figure></span> to end all of this. Note that this
+ can also be implemented with an <span class="codefrag"><img></span> element.
</p>
<div id="" style="text-align: center;">
<img id="" class="figure" alt="The fine Forrest logo" src="images/project-logo.png" height="65" width="220"></div>
</div>
-
-<a name="N10284"></a><a name="changes"></a>
+<a name="N10290"></a><a name="changes"></a>
<h2 class="underlined_10">DTD changes</h2>
<div class="section">
-<p>See the generated
- <a href="../docs_0_80/../dtdx/dtd-docs.html">DTD reference documentation</a>.
+<p>
+ See the generated <a href="../docs_0_80/../dtdx/dtd-docs.html">DTD reference
+ documentation</a>.
</p>
-<a name="N10291"></a><a name="changes-13"></a>
+<a name="N1029D"></a><a name="changes-13"></a>
<h3 class="underlined_5">Changes since document-v12</h3>
<p>
All v1.2 docs will work fine as v1.3 DTD. The main change is the
addition of a @class attribute to every element, which enables the
"extra-css" section in the skinconf to be put to good use.
</p>
-<a name="N1029B"></a><a name="changes-12"></a>
+<a name="N102A7"></a><a name="changes-12"></a>
<h3 class="underlined_5">Changes since document-v11</h3>
<p>
doc-v12 enhances doc-v11 by relaxing various restrictions that were
Modified: forrest/site/dtdx/document-v13.pdf
URL: http://svn.apache.org/viewvc/forrest/site/dtdx/document-v13.pdf?view=diff&rev=527020&r1=527019&r2=527020
==============================================================================
Binary files - no diff available.
Modified: forrest/site/dtdx/document-v13.pod
URL: http://svn.apache.org/viewvc/forrest/site/dtdx/document-v13.pod?view=diff&rev=527020&r1=527019&r2=527020
==============================================================================
--- forrest/site/dtdx/document-v13.pod (original)
+++ forrest/site/dtdx/document-v13.pod Mon Apr 9 21:44:00 2007
@@ -24,7 +24,8 @@
=head2 Sample Content
-B<Hint: > See the xml source to see how the various elements are used and see the L<DTD reference documentation|../docs_0_80/../dtdx/dtd-docs> .
+B<Hint: > See the xml source to see how the various elements are used and see the L<DTD reference
+ documentation|../docs_0_80/../dtdx/dtd-docs> .
@@ -168,7 +169,12 @@
A sample nested table
+---------------------------------+---------------------------------+
- | Or even tables.. | inside tables.. |
+ | Or even tables.. | |
+ | | |
+ | | inside ta |
+ | | bles.. |
+ | | |
+ | | |
+---------------------------------+---------------------------------+
| or inside lists, but I believe | |
| this liberty gets quickly quite | |
@@ -370,10 +376,12 @@
CDATA sections are used within C<<source> > elements so that you can write pointy brackets without needing to escape them with messy C<< > entities ...
+
<pointy>
easy
</pointy>
+
Please take care to still use a sensible line-length within your source elements.
@@ -426,7 +434,8 @@
=head2 DTD changes
-See the generated L<DTD reference documentation|../docs_0_80/../dtdx/dtd-docs> .
+See the generated L<DTD reference
+ documentation|../docs_0_80/../dtdx/dtd-docs> .
Modified: forrest/site/dtdx/document-v13.xml
URL: http://svn.apache.org/viewvc/forrest/site/dtdx/document-v13.xml?view=diff&rev=527020&r1=527019&r2=527020
==============================================================================
--- forrest/site/dtdx/document-v13.xml (original)
+++ forrest/site/dtdx/document-v13.xml Mon Apr 9 21:44:00 2007
@@ -14,89 +14,92 @@
See the License for the specific language governing permissions and
limitations under the License.
--><!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.3//EN" "http://forrest.apache.org/dtd/document-v13.dtd">
-<document>
- <header>
- <title>The Apache Forrest xdocs document-v1.3 DTD</title>
+<document>
+ <header>
+ <title>The Apache Forrest xdocs document-v1.3 DTD</title>
<notice>The content of this document doesn't make any sense at all.</notice>
- <abstract>This is a demonstration document using all possible elements in
- the current Apache Forrest xdocs <code>document-v13.dtd</code>
- </abstract>
- </header>
- <body>
- <note>
+ <abstract>
This is a demonstration document using all possible elements in the
current Apache Forrest xdocs <code>document-v13.dtd</code>
- (See the <link href="#changes">DTD changes</link> section at the bottom.)
+ </abstract>
+ </header>
+ <body>
+ <note>
+ This is a demonstration document using all possible elements in the
+ current Apache Forrest xdocs <code>document-v13.dtd</code> (See the
+ <link href="#changes">DTD changes</link> section at the bottom.)
</note>
<section id="sample">
<title>Sample Content</title>
- <p><strong>Hint:</strong> See the xml source to see how the various
- elements are used and see the
- <link href="site:dtd-docs">DTD reference documentation</link>.
+ <p>
+ <strong>Hint:</strong> See the xml source to see how the various
+ elements are used and see the <link href="site:dtd-docs">DTD reference
+ documentation</link>.
</p>
<section id="block-inline">
<title>Block and inline elements</title>
- <p>This is a simple paragraph. Most documents contain a fair amount of
- paragraphs. Paragraphs are called <code><p></code>.</p>
- <p xml:space="preserve">With the <code><p xml:space="preserve"></code> attribute, you can declare
- that whitespace should be preserved, without implying it is in any other
- way special.</p>
- <p>
- This next paragraph has a class attribute of 'quote'. CSS can
- be used to present this <code><p class='quote'></code> in
- a different style than the other paragraphs. The handling of
- this quoted paragraph is defined in the <extra-css>
- element in the skinconf.xml.
- </p>
- <p class="quote">
- Anyway, like I was sayin', shrimp is the fruit of the sea. You can
- barbecue it, boil it, broil it, bake it, sautee it. Dey's uh,
- shrimp-kabobs, shrimp creole, shrimp gumbo. Pan fried, deep fried,
- stir-fried. There's pineapple shrimp, lemon shrimp, coconut shrimp,
- pepper shrimp, shrimp soup, shrimp stew, shrimp salad, shrimp and
- potatoes, shrimp burger, shrimp sandwich. That- that's about it.
- </p>
- <p>A number of in-line elements are available in the DTD, we will show them
- inside an unordered list (<code><ul></code>):</p>
- <ul>
- <li>Here is a simple list item (<code><li></code>).</li>
- <li>Have you seen the use of the <code><code></code> element in the
- previous item?</li>
- <li>Also, we have <code><sub></code> and <code><sup></code>
+ <p>
+ This is a simple paragraph. Most documents contain a fair amount of
+ paragraphs. Paragraphs are called <code><p></code>.
+ </p>
+ <p xml:space="preserve">
+ With the <code><p xml:space="preserve"></code> attribute, you can declare
+ that whitespace should be preserved, without implying it is in any other
+ way special.
+ </p>
+ <p>
+ This next paragraph has a class attribute of 'quote'. CSS can be used
+ to present this <code><p class='quote'></code> in a different
+ style than the other paragraphs. The handling of this quoted paragraph
+ is defined in the <extra-css> element in the skinconf.xml.
+ </p>
+ <p class="quote">
+ Anyway, like I was sayin', shrimp is the fruit of the sea. You can
+ barbecue it, boil it, broil it, bake it, sautee it. Dey's uh,
+ shrimp-kabobs, shrimp creole, shrimp gumbo. Pan fried, deep fried,
+ stir-fried. There's pineapple shrimp, lemon shrimp, coconut shrimp,
+ pepper shrimp, shrimp soup, shrimp stew, shrimp salad, shrimp and
+ potatoes, shrimp burger, shrimp sandwich. That- that's about it.
+ </p>
+ <p>
+ A number of in-line elements are available in the DTD, we will show
+ them inside an unordered list (<code><ul></code>):
+ </p>
+ <ul>
+ <li>Here is a simple list item (<code><li></code>).</li>
+ <li>Have you seen the use of the <code><code></code> element in the
+ previous item?</li>
+ <li>Also, we have <code><sub></code> and <code><sup></code>
elements to show content <sup>above</sup> or <sub>below</sub> the text
- baseline.</li>
- <li>There is a facility to <em>emphasize</em> certain words using the
- <code><em></code> <strong><code><strong></code></strong>
- elements.</li>
- <li>We can use
- <icon height="22" width="26" src="images/icon.png" alt="feather"/>
- <code><icon></code>s too.</li>
- <li>Another possibility is the <code><img></code> element:
+ baseline.</li>
+ <li>There is a facility to <em>emphasize</em> certain words using the
+ <code><em></code><strong><code><strong></code></strong>
+ elements.</li>
+ <li>We can use
+ <icon height="22" width="26" src="images/icon.png" alt="feather"/><code><icon></code>s too.</li>
+ <li>Another possibility is the <code><img></code> element:
<img src="images/icon.png" alt="another feather" height="22" width="26"/>,
- which offers the ability to refer to an image map.</li>
- <li>We have elements for hyperlinking:
- <dl>
- <dt><code><link href="../index.html"></code></dt>
- <dd>Use this to
+ which offers the ability to refer to an image map.</li>
+ <li>We have elements for hyperlinking:
+ <dl>
+ <dt><code><link href="../index.html"></code></dt>
+ <dd>Use this to
<link href="../index.html" title="Example of a document via link">link</link>
to another document. As per normal, this will open the new document
- in the same browser window.</dd>
-
- <dt><code><link href="#section"></code></dt>
- <dd>Use this to
+ in the same browser window.</dd>
+ <dt><code><link href="#section"></code></dt>
+ <dd>Use this to
<link href="#section" title="Example of a document via local anchor">link</link>
to the named anchor in the current document.
- </dd>
-
- <dt><code><link href="../index.html#History"></code></dt>
- <dd>Use this to
+ </dd>
+ <dt><code><link href="../index.html#History"></code></dt>
+ <dd>Use this to
<link href="../index.html#History" title="Example of a document via link and anchor">link</link>
to another document and go to the named anchor. This will open
the new document in the same browser window.
- </dd>
-
- <dt><code><jump href="../index.html"></code></dt>
- <dd>Use this to
+ </dd>
+ <dt><code><jump href="../index.html"></code></dt>
+ <dd>Use this to
<jump href="../index.html" title="Example of a document via jump">jump</jump>
to another document and optionally go to a named
<jump href="../index.html#overview" title="Example of a document via jump to anchor">anchor</jump>
@@ -105,143 +108,151 @@
The jump behaves differently, in that it will replace any frames
in the current window.
This is the equivalent of
- <code><a ... target="_top"></code>
- </dd>
-
- <dt><code><fork href="../index.html"></code></dt>
- <dd>Use this to
+ <code><a ... target="_top"></code></dd>
+ <dt><code><fork href="../index.html"></code></dt>
+ <dd>Use this to
<fork href="../index.html" title="Example of a document via fork">fork</fork>
your webbrowser to another document. This will open the document
in a new, unnamed browser window.
This is the equivalent of
- <code><a ... target="_blank"></code>
- </dd>
- </dl></li>
-
- <li>Oh, by the way, a definition list <code><dl></code> was used inside
+ <code><a ... target="_blank"></code></dd>
+ </dl></li>
+ <li>Oh, by the way, a definition list <code><dl></code> was used inside
the previous list item. We could put another
- <ul>
- <li>unordered list</li>
- <li>inside the list item</li>
- </ul>
- <table>
- <caption>A sample nested table</caption>
- <tr><td colspan="1" rowspan="1">Or even tables.. </td><td colspan="1" rowspan="1">
- <table><tr><td colspan="1" rowspan="1">inside tables..</td></tr></table>
- </td></tr>
- <tr><td colspan="1" rowspan="1">or inside lists, but I believe this liberty gets quickly quite
- hairy as you see.</td></tr>
- </table>
- </li>
- </ul>
- <p>So far for the in-line elements, let's look at some paragraph-level
- elements.</p>
- <fixme author="SN">The <code><fixme></code> element is used for stuff
- which still needs work. Mind the <code>author</code> attribute!</fixme>
- <note>Use the <code><note></code> element to draw attention to something, e.g. ...The <code><code></code> element is used when the author can't
- express himself clearly using normal sentences ;-)</note>
- <warning>Sleep deprivation can be the result of being involved in an open
- source project. (a.k.a. the <code><warning></code> element).
- </warning>
- <note label="Important">If you want your own labels for notes and
- warnings, specify them using the <code>label</code> attribute.
- </note>
- <p>Apart from unordered lists, we have ordered lists too, of course.</p>
- <ol>
- <li>Item 1</li>
- <li>Item 2</li>
- <li>This should be 3 if my math is still OK.</li>
- </ol>
+ <ul>
+ <li>unordered list</li>
+ <li>inside the list item</li>
+ </ul>
+ <table>
+ <caption>A sample nested table</caption>
+ <tr>
+ <td colspan="1" rowspan="1">Or even tables.. </td>
+ <td colspan="1" rowspan="1">
+ <table>
+ <tr>
+ <td colspan="1" rowspan="1">inside tables..</td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="1" rowspan="1">or inside lists, but I believe this liberty gets quickly quite
+ hairy as you see.</td>
+ </tr>
+ </table></li>
+ </ul>
+ <p>
+ So far for the in-line elements, let's look at some paragraph-level
+ elements.
+ </p>
+ <fixme author="SN">
+ The <code><fixme></code> element is used for stuff which still
+ needs work. Mind the <code>author</code> attribute!
+ </fixme>
+ <note>
+ Use the <code><note></code> element to draw attention to
+ something, e.g. ...The <code><code></code> element is used when
+ the author can't express himself clearly using normal sentences ;-)
+ </note>
+ <warning>
+ Sleep deprivation can be the result of being involved in an open
+ source project. (a.k.a. the <code><warning></code> element).
+ </warning>
+ <note label="Important">
+ If you want your own labels for notes and warnings, specify them using
+ the <code>label</code> attribute.
+ </note>
+ <p>
+ Apart from unordered lists, we have ordered lists too, of course.
+ </p>
+ <ol>
+ <li>Item 1</li>
+ <li>Item 2</li>
+ <li>This should be 3 if my math is still OK.</li>
+ </ol>
</section>
-
<section id="presentations">
<title>Various presentation formats</title>
-
- <p>This sample document, written in document-v13 XML can be presented
- via Forrest in a number of different formats. The links in the
- following list show this document in each of the currently available
- formats.</p>
-
- <p>Each of the formats can be made available as a link near the top of
- the page. Actual placement of those links depends on the skin
- currently in use. Those links are enabled in the skinconf.xml via the
- <disable-XXX-link> elements in the skinconf.xml</p>
-
+ <p>
+ This sample document, written in document-v13 XML can be presented via
+ Forrest in a number of different formats. The links in the following
+ list show this document in each of the currently available formats.
+ </p>
+ <p>
+ Each of the formats can be made available as a link near the top of
+ the page. Actual placement of those links depends on the skin
+ currently in use. Those links are enabled in the skinconf.xml via the
+ <disable-XXX-link> elements in the skinconf.xml
+ </p>
<table>
<tr>
<th colspan="1" rowspan="1">Presentation Format</th>
-
<th colspan="1" rowspan="1">Description</th>
-
<th colspan="1" rowspan="1">skinconf.xml Element</th>
</tr>
-
<tr>
- <td colspan="1" rowspan="1"><link href="document-v13.html">HTML</link></td>
-
+ <td colspan="1" rowspan="1"><link href="document-v13.html">HTML</link>
+ </td>
<td colspan="1" rowspan="1">This document in HTML format. </td>
-
<td colspan="1" rowspan="1">Always generated by default. Cannot be turned off.</td>
</tr>
-
<tr>
- <td colspan="1" rowspan="1"><link href="document-v13.xml">XML</link></td>
-
+ <td colspan="1" rowspan="1"><link href="document-v13.xml">XML</link>
+ </td>
<td colspan="1" rowspan="1">This document in its raw XML format.</td>
-
<td colspan="1" rowspan="1"><disable-xml-link>. By default, set to true, meaning
that this link will not be shown.</td>
</tr>
-
<tr>
- <td colspan="1" rowspan="1"><link href="document-v13.pdf">PDF</link></td>
-
+ <td colspan="1" rowspan="1"><link href="document-v13.pdf">PDF</link>
+ </td>
<td colspan="1" rowspan="1">This document as Adobe PDF</td>
-
<td colspan="1" rowspan="1"><disable-pdf-link>. By default, set to false, meaning
that this link will be shown.</td>
</tr>
-
<tr>
<td colspan="1" rowspan="1">Text</td>
-
<td colspan="1" rowspan="1">This document as straight text.</td>
-
<td colspan="1" rowspan="1"><disable-txt-link>. By default, set to true, meaning
that this link will not be shown. NOT YET IMPLEMENTED.</td>
</tr>
-
<tr>
- <td colspan="1" rowspan="1"><link href="document-v13.pod">POD</link></td>
-
+ <td colspan="1" rowspan="1"><link href="document-v13.pod">POD</link>
+ </td>
<td colspan="1" rowspan="1">This document as Perl POD (Plain Old Documentation). Text with
minimal formatting directives. If on a *nix system with perl
installed, see "man perlpod".</td>
-
<td colspan="1" rowspan="1"><disable-pod-link>. By default, set to true, meaning
that this link will not be shown.</td>
</tr>
</table>
</section>
- <section id="section">
+ <section id="section">
<title>Using sections</title>
- <p>You can use sections to put some structure in your document. For some
+ <p>
+ You can use sections to put some structure in your document. For some
strange historical reason, the section title is an attribute of the
- <code><section></code> element.</p>
- </section>
+ <code><section></code> element.
+ </p>
+ </section>
<section id="sub-section">
<title>Sections, the sequel</title>
- <p>Just some second section.</p>
+ <p>
+ Just some second section.
+ </p>
<section id="sub-sub-section">
<title>Section 2.1</title>
- <p>Which contains a subsection (2.1).</p>
- </section>
- </section>
-
+ <p>
+ Which contains a subsection (2.1).
+ </p>
+ </section>
+ </section>
<section id="source">
- <title>Showing preformatted source code</title>
- <p>Enough about these sections. Let's have a look at more interesting
- elements, <code><source></code> for instance:</p>
+ <title>Showing preformatted source code</title>
+ <p>
+ Enough about these sections. Let's have a look at more interesting
+ elements, <code><source></code> for instance:
+ </p>
<source xml:space="preserve"><![CDATA[
// This example is from the book _Java in a Nutshell_ by David Flanagan.
// Written by David Flanagan. Copyright (c) 1996 O'Reilly & Associates.
@@ -258,23 +269,28 @@
g.drawString("Hello World", 25, 50);
}
}]]></source>
- <p>CDATA sections are used within
- <code><source></code> elements so that you can write pointy
- brackets without needing to escape them with messy
- <code>&lt;</code> entities ...
- </p>
+ <p>
+ CDATA sections are used within <code><source></code> elements so
+ that you can write pointy brackets without needing to escape them with
+ messy <code>&lt;</code> entities ...
+ </p>
<source xml:space="preserve"><![CDATA[
+
<pointy>
easy
</pointy>
-]]></source>
- <p>Please take care to still use a sensible line-length within your
- source elements.</p>
+]]><![CDATA[
+ ]]></source>
+ <p>
+ Please take care to still use a sensible line-length within your
+ source elements.
+ </p>
</section>
-
<section id="table">
<title>Using tables</title>
- <p>And now for a table:</p>
+ <p>
+ And now for a table:
+ </p>
<table>
<caption>Table caption</caption>
<tr>
@@ -295,7 +311,7 @@
<tr>
<th colspan="1" rowspan="1">column 1</th>
<th colspan="1" rowspan="1">column 2</th>
- </tr>
+ </tr>
<tr>
<td colspan="1" rowspan="1">cell A</td>
<td colspan="1" rowspan="1">cell B</td>
@@ -303,27 +319,29 @@
</table>
</td>
<td colspan="1" rowspan="1">
- <ul><li>and can include most other elements</li><li>such as lists</li></ul>
+ <ul>
+ <li>and can include most other elements</li>
+ <li>such as lists</li>
+ </ul>
</td>
</tr>
- </table>
+ </table>
</section>
-
<anchor id="second-figure-anchor"/>
- <section id="figure">
+ <section id="figure">
<title>Using figures</title>
- <p>And a <code><figure></code> to end all of this.
- Note that this can also be implemented with an
- <code><img></code> element.
+ <p>
+ And a <code><figure></code> to end all of this. Note that this
+ can also be implemented with an <code><img></code> element.
</p>
- <figure src="images/project-logo.png" alt="The fine Forrest logo" width="220" height="65"/>
+ <figure src="images/project-logo.png" alt="The fine Forrest logo" width="220" height="65"/>
</section>
</section>
-
<section id="changes">
<title>DTD changes</title>
- <p>See the generated
- <link href="site:dtd-docs">DTD reference documentation</link>.
+ <p>
+ See the generated <link href="site:dtd-docs">DTD reference
+ documentation</link>.
</p>
<section id="changes-13">
<title>Changes since document-v12</title>
@@ -361,8 +379,8 @@
</ul>
</section>
</section>
- </body>
- <footer>
- <legal>This is a legal notice, so it is <strong>important</strong>.</legal>
+ </body>
+ <footer>
+ <legal>This is a legal notice, so it is <strong>important</strong>.</legal>
</footer>
</document>
Modified: forrest/site/dtdx/document-v20.html
URL: http://svn.apache.org/viewvc/forrest/site/dtdx/document-v20.html?view=diff&rev=527020&r1=527019&r2=527020
==============================================================================
--- forrest/site/dtdx/document-v20.html (original)
+++ forrest/site/dtdx/document-v20.html Mon Apr 9 21:44:00 2007
@@ -314,8 +314,9 @@
<input value="+a" class="biggerfont" title="Enlarge text" onclick="ndeSetTextSize('incr'); return false;" type="button">
</div>
<h1>The Apache Forrest xdocs document-v2.0 DTD</h1>
-<div class="abstract">This is a demonstration document using all possible elements in
- the current Apache Forrest xdocs document-v20.dtd
+<div class="abstract">
+ This is a demonstration document using all possible elements in the
+ current Apache Forrest xdocs document-v20.dtd
</div>
<div id="minitoc-area">
<ul class="minitoc">
@@ -368,14 +369,14 @@
</ul>
</li>
</ul>
-</div>
+</div>
<div class="note">
<div class="label">Note</div>
<div class="content">
This is a demonstration document using all possible elements in the
- current Apache Forrest xdocs <span class="codefrag">document-v20.dtd</span>
- (See the <a href="#changes">DTD changes</a> section at the bottom.)
+ current Apache Forrest xdocs <span class="codefrag">document-v20.dtd</span> (See the
+ <a href="#changes">DTD changes</a> section at the bottom.)
</div>
</div>
@@ -383,278 +384,307 @@
<h2 class="underlined_10">Sample Content</h2>
<div class="section">
<p>
+
<strong>Hint:</strong> See the xml source to see how the various
- elements are used and see the
- <a href="../docs_0_80/../dtdx/dtd-docs.html">DTD reference documentation</a>.
+ elements are used and see the <a href="../docs_0_80/../dtdx/dtd-docs.html">DTD reference
+ documentation</a>.
</p>
-<a name="N1002F"></a><a name="block-inline"></a>
+<a name="N10030"></a><a name="block-inline"></a>
<h3 class="underlined_5">Block and inline elements</h3>
-<p>This is a simple paragraph. Most documents contain a fair amount of
- paragraphs. Paragraphs are called <span class="codefrag"><p></span>.</p>
-<div class="pre">With the <span class="codefrag"><p xml:space="preserve"></span> attribute, you can declare
- that whitespace should be preserved, without implying it is in any other
- way special.</div>
-<p>
- This next paragraph has a class attribute of 'quote'. CSS can
- be used to present this <span class="codefrag"><p class='quote'></span> in
- a different style than the other paragraphs. The handling of
- this quoted paragraph is defined in the <extra-css>
- element in the skinconf.xml.
- </p>
+<p>
+ This is a simple paragraph. Most documents contain a fair amount of
+ paragraphs. Paragraphs are called <span class="codefrag"><p></span>.
+ </p>
+<div class="pre">
+ With the <span class="codefrag"><p xml:space="preserve"></span> attribute, you can declare
+ that whitespace should be preserved, without implying it is in any other
+ way special.
+ </div>
+<p>
+ This next paragraph has a class attribute of 'quote'. CSS can be used
+ to present this <span class="codefrag"><p class='quote'></span> in a different
+ style than the other paragraphs. The handling of this quoted paragraph
+ is defined in the <extra-css> element in the skinconf.xml.
+ </p>
<p class="quote">
- Anyway, like I was sayin', shrimp is the fruit of the sea. You can
- barbecue it, boil it, broil it, bake it, sautee it. Dey's uh,
- shrimp-kabobs, shrimp creole, shrimp gumbo. Pan fried, deep fried,
- stir-fried. There's pineapple shrimp, lemon shrimp, coconut shrimp,
- pepper shrimp, shrimp soup, shrimp stew, shrimp salad, shrimp and
- potatoes, shrimp burger, shrimp sandwich. That- that's about it.
- </p>
-<p>A number of in-line elements are available in the DTD, we will show them
- inside an unordered list (<span class="codefrag"><ul></span>):</p>
-<ul>
-
-<li>Here is a simple list item (<span class="codefrag"><li></span>).</li>
-
+ Anyway, like I was sayin', shrimp is the fruit of the sea. You can
+ barbecue it, boil it, broil it, bake it, sautee it. Dey's uh,
+ shrimp-kabobs, shrimp creole, shrimp gumbo. Pan fried, deep fried,
+ stir-fried. There's pineapple shrimp, lemon shrimp, coconut shrimp,
+ pepper shrimp, shrimp soup, shrimp stew, shrimp salad, shrimp and
+ potatoes, shrimp burger, shrimp sandwich. That- that's about it.
+ </p>
+<p>
+ A number of in-line elements are available in the DTD, we will show
+ them inside an unordered list (<span class="codefrag"><ul></span>):
+ </p>
+<ul>
+
+<li>Here is a simple list item (<span class="codefrag"><li></span>).</li>
+
<li>Have you seen the use of the <span class="codefrag"><code></span> element in the
- previous item?</li>
-
+ previous item?</li>
+
<li>Also, we have <span class="codefrag"><sub></span> and <span class="codefrag"><sup></span>
elements to show content <sup>above</sup> or <sub>below</sub> the text
- baseline.</li>
-
+ baseline.</li>
+
<li>There is a facility to <em>emphasize</em> certain words using the
- <span class="codefrag"><em></span> <strong><span class="codefrag"><strong></span></strong>
- elements.</li>
-
+ <span class="codefrag"><em></span><strong><span class="codefrag"><strong></span></strong>
+ elements.</li>
+
<li>We can use
- <img class="icon" alt="feather" height="22" src="images/icon.png" width="26">
- <span class="codefrag"><icon></span>s too.</li>
-
+ <img class="icon" alt="feather" height="22" src="images/icon.png" width="26"><span class="codefrag"><icon></span>s too.</li>
+
<li>Another possibility is the <span class="codefrag"><img></span> element:
<img alt="another feather" height="22" src="images/icon.png" width="26">,
- which offers the ability to refer to an image map.</li>
-
+ which offers the ability to refer to an image map.</li>
+
<li>We have elements for hyperlinking:
- <dl>
-
+ <dl>
+
<dt>
<span class="codefrag"><a href="../index.html"></span>
-</dt>
-
+</dt>
+
<dd>Use this to
<a href="../index.html" title="Example of a document via link">link</a>
to another document. As per normal, this will open the new document
- in the same browser window.</dd>
-
-
+ in the same browser window.</dd>
+
<dt>
<span class="codefrag"><a href="#section"></span>
-</dt>
-
+</dt>
+
<dd>Use this to
<a href="#section" title="Example of a document via local anchor">link</a>
to the named anchor in the current document.
- </dd>
-
-
+ </dd>
+
<dt>
<span class="codefrag"><a href="../index.html#status"></span>
-</dt>
-
+</dt>
+
<dd>Use this to
<a href="../index.html#status" title="Example of a document via link and anchor">link</a>
to another document and go to the named anchor. This will open
the new document in the same browser window.
- </dd>
-
-<dt>Targetted window control with jump and fork.</dt>
-
+ </dd>
+
+<dt>Targetted window control with jump and fork.</dt>
+
<dd>See demonstration
<a href="#link-class">using class attribute on links</a>.
- </dd>
-
+ </dd>
+
</dl>
-</li>
-
-
+</li>
+
<li>Oh, by the way, a definition list <span class="codefrag"><dl></span> was used inside
the previous list item. We could put another
- <ul>
-
-<li>unordered list</li>
+ <ul>
+
+<li>unordered list</li>
+
+<li>inside the list item</li>
-<li>inside the list item</li>
-
</ul>
-
-<table class="ForrestTable" cellspacing="1" cellpadding="4">
+<table class="ForrestTable" cellspacing="1" cellpadding="4">
+
<caption>A sample nested table</caption>
-
+
<tr>
-<td colspan="1" rowspan="1">Or even tables.. </td><td colspan="1" rowspan="1">
+<td colspan="1" rowspan="1">Or even tables.. </td>
+ <td colspan="1" rowspan="1">
+
<table class="ForrestTable" cellspacing="1" cellpadding="4">
+
<tr>
+
<td colspan="1" rowspan="1">inside tables..</td>
+
</tr>
+
</table>
-
+
</td>
+
</tr>
-
+
<tr>
+
<td colspan="1" rowspan="1">or inside lists, but I believe this liberty gets quickly quite
hairy as you see.</td>
+
</tr>
-
+
</table>
-
</li>
-
+
</ul>
-<p>So far for the in-line elements, let's look at some paragraph-level
- elements.</p>
+<p>
+ So far for the in-line elements, let's look at some paragraph-level
+ elements.
+ </p>
<div class="fixme">
<div class="label">Fixme (SN)</div>
-<div class="content">The <span class="codefrag"><fixme></span> element is used for stuff
- which still needs work. Mind the <span class="codefrag">author</span> attribute!</div>
+<div class="content">
+ The <span class="codefrag"><fixme></span> element is used for stuff which still
+ needs work. Mind the <span class="codefrag">author</span> attribute!
+ </div>
</div>
<div class="note">
<div class="label">Note</div>
-<div class="content">Use the <span class="codefrag"><note></span> element to draw attention to something, e.g. ...The <span class="codefrag"><code></span> element is used when the author can't
- express himself clearly using normal sentences ;-)</div>
+<div class="content">
+ Use the <span class="codefrag"><note></span> element to draw attention to
+ something, e.g. ...The <span class="codefrag"><code></span> element is used when
+ the author can't express himself clearly using normal sentences ;-)
+ </div>
</div>
<div class="warning">
<div class="label">Warning</div>
-<div class="content">Sleep deprivation can be the result of being involved in an open
- source project. (a.k.a. the <span class="codefrag"><warning></span> element).
- </div>
+<div class="content">
+ Sleep deprivation can be the result of being involved in an open
+ source project. (a.k.a. the <span class="codefrag"><warning></span> element).
+ </div>
</div>
<div class="note">
<div class="label">Important</div>
-<div class="content">If you want your own labels for notes and
- warnings, specify them using the <span class="codefrag">label</span> attribute.
- </div>
+<div class="content">
+ If you want your own labels for notes and warnings, specify them using
+ the <span class="codefrag">label</span> attribute.
+ </div>
</div>
-<p>Apart from unordered lists, we have ordered lists too, of course.</p>
-<ol>
-
-<li>Item 1</li>
-
-<li>Item 2</li>
+<p>
+ Apart from unordered lists, we have ordered lists too, of course.
+ </p>
+<ol>
+
+<li>Item 1</li>
+
+<li>Item 2</li>
+
+<li>This should be 3 if my math is still OK.</li>
-<li>This should be 3 if my math is still OK.</li>
-
</ol>
-<a name="N10127"></a><a name="presentations"></a>
+<a name="N1012E"></a><a name="presentations"></a>
<h3 class="underlined_5">Various presentation formats</h3>
-<p>This sample document, written in document-v20 XML can be presented
- via Forrest in a number of different formats. The links in the
- following list show this document in each of the currently available
- formats.</p>
-<p>Each of the formats can be made available as a link near the top of
- the page. Actual placement of those links depends on the skin
- currently in use. Those links are enabled in the skinconf.xml via the
- <disable-XXX-link> elements in the skinconf.xml</p>
+<p>
+ This sample document, written in document-v20 XML can be presented via
+ Forrest in a number of different formats. The links in the following
+ list show this document in each of the currently available formats.
+ </p>
+<p>
+ Each of the formats can be made available as a link near the top of
+ the page. Actual placement of those links depends on the skin
+ currently in use. Those links are enabled in the skinconf.xml via the
+ <disable-XXX-link> elements in the skinconf.xml
+ </p>
<table class="ForrestTable" cellspacing="1" cellpadding="4">
<tr>
<th colspan="1" rowspan="1">Presentation Format</th>
-
<th colspan="1" rowspan="1">Description</th>
-
<th colspan="1" rowspan="1">skinconf.xml Element</th>
</tr>
-
<tr>
-<td colspan="1" rowspan="1"><a href="document-v20.html">HTML</a></td>
-
+<td colspan="1" rowspan="1"><a href="document-v20.html">HTML</a>
+ </td>
<td colspan="1" rowspan="1">This document in HTML format. </td>
-
<td colspan="1" rowspan="1">Always generated by default. Cannot be turned off.</td>
</tr>
-
<tr>
-<td colspan="1" rowspan="1"><a href="document-v20.xml">XML</a></td>
-
+<td colspan="1" rowspan="1"><a href="document-v20.xml">XML</a>
+ </td>
<td colspan="1" rowspan="1">This document in its raw XML format.</td>
-
<td colspan="1" rowspan="1"><disable-xml-link>. By default, set to true, meaning
that this link will not be shown.</td>
</tr>
-
<tr>
-<td colspan="1" rowspan="1"><a href="document-v20.pdf">PDF</a></td>
-
+<td colspan="1" rowspan="1"><a href="document-v20.pdf">PDF</a>
+ </td>
<td colspan="1" rowspan="1">This document as Adobe PDF</td>
-
<td colspan="1" rowspan="1"><disable-pdf-link>. By default, set to false, meaning
that this link will be shown.</td>
</tr>
-
<tr>
-<td colspan="1" rowspan="1"><a href="document-v20.txt">Text</a></td>
-
+<td colspan="1" rowspan="1"><a href="document-v20.txt">Text</a>
+ </td>
<td colspan="1" rowspan="1">
-<p>This document as straight text.</p>
+
+<p>
+ This document as straight text.
+ </p>
+
+<p>
+ For additional information see the Forrest text-output plugin.
+ </p>
-<p>For additional information see the Forrest text-output
- plugin.</p>
</td>
-
<td colspan="1" rowspan="1"><disable-txt-link>. By default, set to true, meaning
that this link will not be shown.</td>
</tr>
-
<tr>
-<td colspan="1" rowspan="1"><a href="document-v20.pod">POD</a></td>
-
+<td colspan="1" rowspan="1"><a href="document-v20.pod">POD</a>
+ </td>
<td colspan="1" rowspan="1">
-<p>This document as Perl POD (Plain Old Documentation). Text
- with minimal formatting directives. If on a *nix system with perl
- installed, see "man perlpod".</p>
+
+<p>
+ This document as Perl POD (Plain Old Documentation). Text with
+ minimal formatting directives. If on a *nix system with perl
+ installed, see "man perlpod".
+ </p>
+
+<p>
+ For additional information see the Forrest pod-output plugin.
+ </p>
-<p>For additional information see the Forrest pod-output
- plugin.</p>
</td>
-
<td colspan="1" rowspan="1"><disable-pod-link>. By default, set to true, meaning
that this link will not be shown.</td>
</tr>
</table>
-<a name="N101B5"></a><a name="section"></a>
+<a name="N101C5"></a><a name="section"></a>
<h3 class="underlined_5">Using sections</h3>
-<p>You can use sections to put some structure in your document.
+<p>
+ You can use sections to put some structure in your document.
</p>
-<a name="N101BF"></a><a name="sub-section"></a>
+<a name="N101CF"></a><a name="sub-section"></a>
<h3 class="underlined_5">Sections, the sequel</h3>
-<p>Just some second section.</p>
-<a name="N101C8"></a><a name="sub-sub-section"></a>
+<p>
+ Just some second section.
+ </p>
+<a name="N101D8"></a><a name="sub-sub-section"></a>
<h4>Section 2.1</h4>
-<p>Which contains a subsection (2.1).</p>
-<a name="N101D3"></a><a name="source"></a>
+<p>
+ Which contains a subsection (2.1).
+ </p>
+<a name="N101E3"></a><a name="source"></a>
<h3 class="underlined_5">Showing preformatted source code</h3>
-<p>Enough about these sections. Let's have a look at more interesting
- elements, <span class="codefrag"><source></span> for instance:</p>
+<p>
+ Enough about these sections. Let's have a look at more interesting
+ elements, <span class="codefrag"><source></span> for instance:
+ </p>
<pre class="code">
// This example is from the book _Java in a Nutshell_ by David Flanagan.
// Written by David Flanagan. Copyright (c) 1996 O'Reilly & Associates.
@@ -671,21 +701,27 @@
g.drawString("Hello World", 25, 50);
}
}</pre>
-<p>CDATA sections are used within
- <span class="codefrag"><source></span> elements so that you can write pointy
- brackets without needing to escape them with messy
- <span class="codefrag">&lt;</span> entities ...
+<p>
+ CDATA sections are used within <span class="codefrag"><source></span> elements so
+ that you can write pointy brackets without needing to escape them with
+ messy <span class="codefrag">&lt;</span> entities ...
</p>
<pre class="code">
+
<pointy>
easy
</pointy>
-</pre>
-<p>Please take care to still use a sensible line-length within your
- source elements.</p>
-<a name="N101F4"></a><a name="table"></a>
+
+ </pre>
+<p>
+ Please take care to still use a sensible line-length within your
+ source elements.
+ </p>
+<a name="N10204"></a><a name="table"></a>
<h3 class="underlined_5">Using tables</h3>
-<p>And now for a table:</p>
+<p>
+ And now for a table:
+ </p>
<table class="ForrestTable" cellspacing="1" cellpadding="4">
<caption>Table caption</caption>
@@ -719,7 +755,7 @@
<th colspan="1" rowspan="1">column 1</th>
<th colspan="1" rowspan="1">column 2</th>
-</tr>
+</tr>
<tr>
@@ -734,8 +770,11 @@
<td colspan="1" rowspan="1">
<ul>
+
<li>and can include most other elements</li>
+
<li>such as lists</li>
+
</ul>
</td>
@@ -743,80 +782,97 @@
</tr>
</table>
-<a name="second-figure-anchor" id="second-figure-anchor"></a><a name="N1025B"></a><a name="figure"></a>
+<a name="second-figure-anchor" id="second-figure-anchor"></a><a name="N1026E"></a><a name="figure"></a>
<h3 class="underlined_5">Using figures</h3>
-<p>And a <span class="codefrag"><figure></span> to end all of this.
- Note that this can also be implemented with an
- <span class="codefrag"><img></span> element.
+<p>
+ And a <span class="codefrag"><figure></span> to end all of this. Note that this
+ can also be implemented with an <span class="codefrag"><img></span> element.
</p>
<div id="" style="text-align: center;">
<img id="" class="figure" alt="The fine Forrest logo" src="images/project-logo.png" height="65" width="220"></div>
-<a name="N10271"></a><a name="link-class"></a>
+<a name="N10284"></a><a name="link-class"></a>
<h3 class="underlined_5">Using class attribute on links</h3>
-<p>The document-v13 had elements <fork> and <jump>. In
- document-v20, those elements no longer exist but the functionality can
- be duplicated by using the @class attribute.
- Even though the opening of separate windows should be under the
- control of the user, these techniques can still be employed.</p>
+<p>
+ The document-v13 had elements <fork> and <jump>. In
+ document-v20, those elements no longer exist but the functionality can
+ be duplicated by using the @class attribute. Even though the opening
+ of separate windows should be under the control of the user, these
+ techniques can still be employed.
+ </p>
<table class="ForrestTable" cellspacing="1" cellpadding="4">
<tr>
<th colspan="1" rowspan="1">
-<p>Document V1.3</p>
+
+<p>
+ Document V1.3
+ </p>
+
</th>
-
<th colspan="1" rowspan="1">
-<p>Document V2.0</p>
+
+<p>
+ Document V2.0
+ </p>
+
</th>
</tr>
-
<tr>
<td colspan="1" rowspan="1">
-<p><fork href="../index.html"></p>
+
+<p>
+ <fork href="../index.html">
+ </p>
+
</td>
-
<td colspan="1" rowspan="1"><a target="_blank" class="fork" href="../index.html"><a class="fork"
- href="../index.html"></a></td>
+ href="../index.html"></a>
+ </td>
</tr>
-
<tr>
<td colspan="1" rowspan="1">
-<p><jump href="../index.html"></p>
+
+<p>
+ <jump href="../index.html">
+ </p>
+
</td>
-
<td colspan="1" rowspan="1">
+
<p>
+
<a target="_top" class="jump" href="../index.html"><a class="jump"
- href="../index.html"></a>
+ href="../index.html"></a>
+
</p>
+
</td>
</tr>
</table>
</div>
-
-<a name="N102B1"></a><a name="changes"></a>
+<a name="N102D1"></a><a name="changes"></a>
<h2 class="underlined_10">DTD changes</h2>
<div class="section">
-<p>See the generated
- <a href="../docs_0_80/../dtdx/dtd-docs.html">DTD reference documentation</a>.
+<p>
+ See the generated <a href="../docs_0_80/../dtdx/dtd-docs.html">DTD reference
+ documentation</a>.
</p>
-<a name="N102BE"></a><a name="changes-20"></a>
+<a name="N102DE"></a><a name="changes-20"></a>
<h3 class="underlined_5">Changes between document-v13 and document-v20</h3>
<ul>
<li>Renamed <strong><link></strong>
to <strong><a></strong>
-
</li>
<li>Removed <strong><fork></strong>
@@ -826,14 +882,14 @@
</li>
</ul>
-<a name="N102E1"></a><a name="changes-13"></a>
+<a name="N10300"></a><a name="changes-13"></a>
<h3 class="underlined_5">Changes between document-v12 and document-v13</h3>
<p>
All v1.2 docs will work fine as v1.3 DTD. The main change is the
addition of a @class attribute to every element, which enables the
"extra-css" section in the skinconf to be put to good use.
</p>
-<a name="N102EB"></a><a name="changes-12"></a>
+<a name="N1030A"></a><a name="changes-12"></a>
<h3 class="underlined_5">Changes between document-v11 and document-v12</h3>
<p>
doc-v12 enhances doc-v11 by relaxing various restrictions that were
Modified: forrest/site/dtdx/document-v20.pdf
URL: http://svn.apache.org/viewvc/forrest/site/dtdx/document-v20.pdf?view=diff&rev=527020&r1=527019&r2=527020
==============================================================================
Binary files - no diff available.
Modified: forrest/site/dtdx/document-v20.pod
URL: http://svn.apache.org/viewvc/forrest/site/dtdx/document-v20.pod?view=diff&rev=527020&r1=527019&r2=527020
==============================================================================
--- forrest/site/dtdx/document-v20.pod (original)
+++ forrest/site/dtdx/document-v20.pod Mon Apr 9 21:44:00 2007
@@ -24,7 +24,8 @@
=head2 Sample Content
-B<Hint: > See the xml source to see how the various elements are used and see the L<DTD reference documentation|../docs_0_80/../dtdx/dtd-docs> .
+B<Hint: > See the xml source to see how the various elements are used and see the L<DTD reference
+ documentation|../docs_0_80/../dtdx/dtd-docs> .
@@ -158,7 +159,12 @@
A sample nested table
+---------------------------------+---------------------------------+
- | Or even tables.. | inside tables.. |
+ | Or even tables.. | |
+ | | |
+ | | inside ta |
+ | | bles.. |
+ | | |
+ | | |
+---------------------------------+---------------------------------+
| or inside lists, but I believe | |
| this liberty gets quickly quite | |
@@ -368,10 +374,12 @@
CDATA sections are used within C<<source> > elements so that you can write pointy brackets without needing to escape them with messy C<< > entities ...
+
<pointy>
easy
</pointy>
+
Please take care to still use a sensible line-length within your source elements.
@@ -445,7 +453,8 @@
=head2 DTD changes
-See the generated L<DTD reference documentation|../docs_0_80/../dtdx/dtd-docs> .
+See the generated L<DTD reference
+ documentation|../docs_0_80/../dtdx/dtd-docs> .