Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 44348 invoked from network); 26 Mar 2006 13:01:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Mar 2006 13:01:53 -0000 Received: (qmail 42554 invoked by uid 500); 26 Mar 2006 13:01:52 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 42512 invoked by uid 500); 26 Mar 2006 13:01:51 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" List-Id: Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 42501 invoked by uid 99); 26 Mar 2006 13:01:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Mar 2006 05:01:51 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 26 Mar 2006 05:01:50 -0800 Received: (qmail 44235 invoked by uid 65534); 26 Mar 2006 13:01:30 -0000 Message-ID: <20060326130130.44234.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r388905 - /forrest/trunk/whiteboard/doco/content/authoring/index/xdoc/index_en.xml Date: Sun, 26 Mar 2006 13:01:29 -0000 To: svn@forrest.apache.org From: thorsten@apache.org X-Mailer: svnmailer-1.0.7 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: thorsten Date: Sun Mar 26 05:01:29 2006 New Revision: 388905 URL: http://svn.apache.org/viewcvs?rev=388905&view=rev Log: Modified documentation with BXE. Modified: forrest/trunk/whiteboard/doco/content/authoring/index/xdoc/index_en.xml Modified: forrest/trunk/whiteboard/doco/content/authoring/index/xdoc/index_en.xml URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/doco/content/authoring/index/xdoc/index_en.xml?rev=388905&r1=388904&r2=388905&view=diff ============================================================================== --- forrest/trunk/whiteboard/doco/content/authoring/index/xdoc/index_en.xml (original) +++ forrest/trunk/whiteboard/doco/content/authoring/index/xdoc/index_en.xml Sun Mar 26 05:01:29 2006 @@ -1,30 +1,16 @@ - +
The Apache Forrest xdocs document-v2.0 DTD - The content of this document doesn't make any sense at all. + The content of this document doesn't make any sense at all. This is a demonstration document using all possible elements in the current Apache Forrest xdocs document-v20.dtd
+ text xxx This is a demonstration document using all possible elements in the current Apache Forrest xdocs document-v20.dtd @@ -33,34 +19,29 @@
Sample Content

-Hint: See the xml source to see how the various +Hint: See the xml source to see how the various xxx elements are used and see the - + DTD reference documentation.

Block and inline elements

This is a simple paragraph. Most documents contain a fair amount of paragraphs. Paragraphs are called <p>.

-

With the <p xml:space="preserve"> attribute, you can declare - that whitespace should be preserved, without implying it is in any other - way special.

- This next paragraph has a class attribute of 'quote'. CSS can - be used to present this <p class='quote'> in + This next paragraph has a class attribute of 'quote'. CSS can + be used to present this <p class='quote'> 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.

-

- 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, +

+ 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, + 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. + potatoes, shrimp burger, shrimp sandwich. That- that's about it.

A number of in-line elements are available in the DTD, we will show them inside an unordered list (<ul>):

@@ -77,15 +58,15 @@ elements.
  • We can use - + <icon>s too.
  • Another possibility is the <img> element: - another feather, + another feather, which offers the ability to refer to an image map.
  • We have elements for hyperlinking:
    -<a href="faq.html"> +<a href="faq.html">
    Use this to link @@ -93,7 +74,7 @@ in the same browser window.
    -<a href="#section"> +<a href="#section">
    Use this to link @@ -101,7 +82,7 @@
    -<a href="faq.html#forrest"> +<a href="faq.html#forrest">
    Use this to link @@ -140,11 +121,11 @@
  • -

    So far for the in-line elements, let's look at some paragraph-level +

    So far for the in-line elements, let's look at some paragraph-level elements.

    The <fixme> element is used for stuff which still needs work. Mind the author attribute! - Use the <note> element to draw attention to something, e.g. ...The <code> element is used when the author can't + Use the <note> element to draw attention to something, e.g. ...The <code> element is used when the author can't express himself clearly using normal sentences ;-) Sleep deprivation can be the result of being involved in an open source project. (a.k.a. the <warning> element). @@ -233,7 +214,7 @@

    This document as Perl POD (Plain Old Documentation). Text with minimal formatting directives. If on a *nix system with perl - installed, see "man perlpod".

    + installed, see "man perlpod".

    For additional information see the Forrest pod-output plugin.

    @@ -260,22 +241,22 @@
    Showing preformatted source code -

    Enough about these sections. Let's have a look at more interesting +

    Enough about these sections. Let's have a look at more interesting elements, <source> for instance:

    - + // This example is from the book _Java in a Nutshell_ by David Flanagan. -// Written by David Flanagan. Copyright (c) 1996 O'Reilly & Associates. +// Written by David Flanagan. Copyright (c) 1996 O'Reilly & Associates. // You may study, use, modify, and distribute this example for any purpose. // This example is provided WITHOUT WARRANTY either expressed or implied. -import java.applet.*; // Don't forget these import statements! +import java.applet.*; // Don't forget these import statements! import java.awt.*; public class FirstApplet extends Applet { // This method displays the applet. // The Graphics class is how you do all drawing in Java. public void paint(Graphics g) { - g.drawString("Hello World", 25, 50); + g.drawString("Hello World", 25, 50); } }

    CDATA sections are used within @@ -283,11 +264,11 @@ brackets without needing to escape them with messy &lt; entities ...

    - + +<pointy> easy - -]]> +</pointy> +

    Please take care to still use a sensible line-length within your source elements.

    @@ -332,14 +313,14 @@
    - +
    Using figures

    And a <figure> to end all of this. Note that this can also be implemented with an <img> element.

    -
    +