(no commit message)
[utils] / crawler / kiss / docs / content / xdocs / samples / ascii-art.xml
1 <?xml version="1.0"?>
2 <!--
3   Copyright 2002-2004 The Apache Software Foundation or its licensors,
4   as applicable.
5
6   Licensed under the Apache License, Version 2.0 (the "License");
7   you may not use this file except in compliance with the License.
8   You may obtain a copy of the License at
9
10       http://www.apache.org/licenses/LICENSE-2.0
11
12   Unless required by applicable law or agreed to in writing, software
13   distributed under the License is distributed on an "AS IS" BASIS,
14   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15   See the License for the specific language governing permissions and
16   limitations under the License.
17 -->
18 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
19 <document> 
20   <header> 
21     <title>Ascii Art sample</title> 
22   </header> 
23   <body> 
24     <section>
25       <title>Sample Ascii Art</title>
26       <p>To create a <code>.png</code> image like the one below with ASCII art, just save 
27          the text file with the <code>.aart</code> extension and then link from any page
28          as an image (<code>&lt;image src="asci-art-file.png"/&gt;</code>).</p> 
29       <p><img src="cocoon-pyramid.png" alt="cocoon pyramid of management-(logic-content-style)"/></p> 
30       <p>Here is the source file that has created the above image.</p>         
31       <source>
32  
33          +-------------------+
34          |    Management     |
35          +-+-------+-------+-+
36            |       |       |                          
37            |       |       |
38    +-------+  +----+----+  +-------+  
39    | logic +--+ content +--+ style |  
40    +-------+  +---------+  +-------+  
41  
42       </source>  
43       <p>An ascii art pad recognized following ascii characters:</p>  
44         <ul>
45           <li> '-' horizontal SVG line</li>
46           <li>'|' vertical SVG line</li>
47           <li> '+' corner</li>
48           <li> \ oblique line</li>
49           <li> String starting with letter, digit, or '_' is converted to a SVG text.</li>
50         </ul>
51     </section>
52   </body> 
53   <footer> 
54     <legal>Copyright 2002-2004 The Apache Software Foundation or its licensors, as applicable.</legal>
55   </footer>
56 </document>