The links below will take you to examples of using C2 to serve XML that increase in complexity and demonstrate some of the techniques that I am using. If you know better ways of doing these things or can add something new please contribute and I will make the examples better. One final point - these pages are being served from simple free web space. C2 is not running behind this so I cannot provide working results of my examples on this site. You will have to create the files and get them to work yourself for the time being.
Please note that, unless otherwise indicated, all my examples assume that the files are in a folder called ctwig
underneath {TOMCAT_HOME}/webapps/cocoon/
You can find links to more information in the resources section.