HELP!

I would like to use and extend Cocoon 2 to perform transformation from an
arbitrary format to another arbitrary format, with some complex
transformation rules thrown in. I like the Generator - Transformer -
Serializer approach of the pipeline pattern, and need to use SAX-based
parsers for performance & have the possibility to use XSL/XSLT to do more
simple transformation.

I have managed to get the build working and can invoke Cocoon via the
command line. I have seen a number of people on the list asking why there
are no examples of using Cocoon from the command line and they are all told
to look at the run.bat / run.sh files. This tell you nothing about how to
use Cocoon! 

What do I need to do to set up a transformation? Lets say I want to convert
an HTML doc to text. How do I configure Cocoon to find the file and to use
the HTMLGenerator, a proprietary Transformation class and a TextSerializer
???? Do I need to modify the cocoon.xconf file (this is loaded correctly) or
create a sitemap.xmap file?????

Maybe I am trying to use Cocoon the wrong way but unless I am told otherwise
I will end up implementing a pipeline framework just because there are no
simple examples! Can't someone post a Hello World example for the command
line???

Regards,

Martin

************************************************************************
The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorised. If you are not
an intended recipient, please notify the sender of this email 
immediately. You should not copy, use or disseminate the 
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.

http://www.capco.com
***********************************************************************


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to