The Hawron project provides a binary Cocoon-XML-application (based on CVS-version from 01.Nov 2004) as starting point. The Apache Cocoon project provides many sample in every Cocoon-distribution. If you want to learn more about Cocoon download and build a Cocoon-distribution. You can use the Cocoon-Installer and if you want to use Hawron with this Cocoon-distribution take a look at Hawrons-Install page for some hints.
The Cocoon-XML-application includes a OpenOffice-example (rendering HTML/PDF-pages from OpenOffice-files) and the DXF2SVG converter Kabeja.
Forrest is another Cocoon-application which uses Cocoon's offline-part . Take a look at Forrest if you want a working solution and not only an example.
We will take a look to theForrest-project later and see if we can use Forrest with Hawron.
The following list shows the different between this example and the official cocoon-distribution:
You can start the Jetty-Servlet-Container and preview all in your browser.
You can generate all offline. Select a Task from the 'Offline Generation'-View edit the Build-directory or use the default (below your hawron-directory) and hit 'Process'. You can now view all generated files offline.
Note: the Java-VM uses 64MB of your memory as default, but XML-Processing often need much more. The examples run normally with the default size, but working with Jetty and the offline-processing together will result in OutOfMemory-Error (see the 'Installing').
This Example shows the usage of OpenOffice.org as Content-Editor.
| The OpenOffice document | |
| Blue-Theme. | |
| White-Theme. | |
| Plain-Theme | |
| Mozilla-like, not include in the cocoon-example. |
For newer versions go to the Kabeja-site.
| DXF transformed to SVG and rendered as image with highlighted layer (XSL) | |
| The SVG-Renderer of Firefox |