From: "Robert Koberg" > Hi, > > Given your questions, I wonder if cocoon is necessary, and in fact, your > expectations. Cocoon s overkill for many things people use it for... Why do you
This is why I want to just reuse a part of the Cocoon code. > want to publish to a binary format? Why not simple HTML? Wouldn't that give your > users more/better access to your information? Our aim is to print paper. I already made a program that extract our data to HTML that is very simple and doesn't use Cocoon. However I'm looking for a more generic tranformation engine for our application : - multiple input : a database containing the hikes, and an XML file containing hours for sunset and sunrise. - multiple output : HTML and OpenOffice, may be later PDF too. We are printing a program of hikes every two months that is 34 pages long (half A4 paper size). Most hikes are just for one day, starting from a train station around Paris. We already have a publishing process that works, using Microsoft Word and too many human brains. We want to reduce the number human brains required, and replace them with programs for the repetitive work. > > What you are asking for is pretty simple. In fact, I would give free access to > hiking groups (especially those documenting the PCT, CDT, AT). If there are I don't what is PCT, PDT or AT. I live in France. > similar things in Europe (given your name) I would support that too. I would I wonder what you mean by "free access". Free access to what ? > probably write the stylesheets if your trail is long (not interested in short > hikes). I don't need that for the moment. > > Let me know if I can help. > Thank you for proposing. Olivier > > From: Olivier Mengué [mailto:[EMAIL PROTECTED]] > > Hi, > > > > I'm working on a project that will generate OpenOffice.org document from > > data extracted from a database. Our aim is to automatise the publishing of > > the program of hikes for my hikers association. It is actually done with a > > Microsoft Word document merge and it is not satisfying. PDF is not an option > > as publishers have to do additionnal editing after the automatic step. > > The output document will be many pages long, so we want to process in batch > > instead of as a web application. > > > > As OpenOffice.org document format is XML, I would like to reuse the Cocoon > > pipeline with an ESQL transformer from a simple Java application. > > > > My question are : > > - is it possible ? I mean, is it possible to reuse just the pipeline in a > > standard Java application, without the sitemap and servlet stuff, without > > too much code or too many dependencies. The pipeline would be either > > hard-coded or specified with a simpler sitemap-like configuration file. > > - how ? The package org.apache.cocoon.components.pipeline seems interesting, > > but I don't know which class to use and how to build a simple pipeline with > > a generator, a transformer and serialiser. Then, how to feed the pipeline ? > > > > Could you point me to the important classes, and the order to create them ? > > > > > > Thank you for your help, > > > > Olivier Mengué --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>