cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andre Cusson" ...@hyperbase.com>
Subject RE: sitemap.xmap question
Date Tue, 18 Jun 2002 20:10:32 GMT
Hi,

Thanks for your help again.

We have both interactive and batch publishing requirements.
I currently feel that Cocoon addresses well the interactive publishing part.
My feeling is also that batch publishing through Cocoon now is probably
inefficient.
What do you think (how wrong am I) ?
Is there interest to better support batch publishing with Cocoon ?
How about things like regenerating (ex: bacground) 5 compound documents of
about 1000 pages each to pdf and html, for example, or generating 50000 pdf
and html paychecks or invoices, each with a (pdf) labeled envelop ?

Thank you.
Regards,
ac

PS: I will lookup the SourceWritingTransformer, thank you.

PSS: See example below.




-----Message d'origine-----
De : Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net]
Envoye : 18 juin, 2002 08:27
A : cocoon-users@xml.apache.org
Objet : RE: sitemap.xmap question


> From: Andre Cusson [mailto:ac@hyperbase.com]
>
> Hi,
>
> Does this mean that a pipeline can only transform/produce a single
output
> file/page per invocation ?

Usually - yes. See SourceWritingTransfomer (somewhere in the scratchpad)
for the unusual.


> Can sub-pipelines be used to generate multiple pages/files from a
single
> main incoming xml stream ?

I'm not sure what that is, but I think no, not at this moment.

Vadim


ex:
source: an xml file with 1000 invoices (with selection criteria for xpath
selection)
transform: render each to pdf
transform: for each, generate a pdf labeled envelop
serialize: for each, serialize to invoice.pdf file and to envelop.pdf file

an alternative could be to do all invoices and then do all envelopes but it
is more work for both the human and the system


---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message