The Apache Software Foundation is proud to present...version 2.0.4
orthogonal views: contentpretty contentlinks
Refactoring Work In Progress
Planning Notes - The Cocoon Samples are undergoing modification. This work is mostly happening in the current development version. Some of the samples are provided below ...

Hello World!
XML - A simple XML page source.
HTML - This is a very simple demonstration of how to use Cocoon. A simple XML page is transformed into an HTML page.
XHTML - Here it's outputted as XHTML.
TEXT - The XML page is transformed into a plain text page.
WML - Now something more juicy: the exact same page is translated into WAP WML.
VoxML - Maybe you have your hands busy? with VoxML you don't need hands, just your voice.
SVG - Need a fancier look? No problem, SVG is your friend.
SVG JPEG - Need a fancier look but don't have an SVG browser? SVG is served as JPEG by Cocoon.
VRML - Need more space? Well, not really useful in this case, but VRML may come handy.
PDF - Printed HTML sucks? Don't worry, your friend Cocoon gives you a nice PDF.
PS - You prefer postscript? No problem, here it is!
RTF - How about RTF? Load this one in your favorite wordprocessor!
XLS - Still stuck with legacy file formats? Don't worry, here is an example.

More Samples
Internationalization - Internationalization and Localization with Cocoon
JSP in Cocoon - How to use JSP for dynamic content generation. (Note: this samples works only in Tomcat 4.x, for other containers settings for JSPEngine should be changed accordingly)

System Tools And Pages
Status Page - Cocoon status page.
Request Page - This example shows the usage of the RequestGenerator.
Error Page - This example shows what happens if an error is triggered in the pipeline.

Documentation
Docs - The Cocoon documentation.
Tutorial - A tutorial on Cocoon.
List of docs - Generated list of all documentation (aggregates each book.xml)
Slides - An old, but still relevant, presentation of Cocoon 1 shown at ApacheCon 2000 (an example of complex XSLT usage).
Search the docs - Search into the Cocoon documentation using Apache Lucene.

Scratchpad samples
Try Scratchpad - Here is a peek of what the next release of Cocoon will bring. To test these samples, you must have built cocoon with "build (sh|bat) installscratchpadwar".

Copyright © 1999-2002 The Apache Software Foundation.
All rights reserved.