<?xml version="1.0"?>
<!--
  Copyright 2002-2004 The Apache Software Foundation or its licensors,
  as applicable.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
<document> 
  <header> 
    <title>Ascii Art sample</title> 
  </header> 
  <body> 
    <section>
      <title>Sample Ascii Art</title>
      <p>To create a <code>.png</code> image like the one below with ASCII art, just save 
         the text file with the <code>.aart</code> extension and then link from any page
         as an image (<code>&lt;image src="asci-art-file.png"/&gt;</code>).</p> 
      <p><img src="cocoon-pyramid.png" alt="cocoon pyramid of management-(logic-content-style)"/></p> 
      <p>Here is the source file that has created the above image.</p>         
      <source>
 
         +-------------------+
         |    Management     |
         +-+-------+-------+-+
           |       |       |                          
           |       |       |
   +-------+  +----+----+  +-------+  
   | logic +--+ content +--+ style |  
   +-------+  +---------+  +-------+  
 
      </source>  
      <p>An ascii art pad recognized following ascii characters:</p>  
        <ul>
          <li> '-' horizontal SVG line</li>
          <li>'|' vertical SVG line</li>
          <li> '+' corner</li>
          <li> \ oblique line</li>
          <li> String starting with letter, digit, or '_' is converted to a SVG text.</li>
        </ul>
    </section>
  </body> 
  <footer> 
    <legal>Copyright 2002-2004 The Apache Software Foundation or its licensors, as applicable.</legal>
  </footer>
</document>
