cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: Understanding cocoon ......
Date Wed, 09 Jan 2002 21:15:42 GMT
> From: Christoph Henrici [mailto:chenrici@dplanet.ch]
> 
>   I have been studying, testing and playing around with cocoon in the
> last few days as a newcomer : i am greatly impressed with what ease
with
> cocoon "pipelines" arbrary data sources can be "chained" to a result
> target: a very powerful paradigm (pipe) applied in a powerful context
> (http) by using great technology (xml, xlst). In context of the
> development of a web based application with requirements for a fairly
> generic mechanism for the dynamic personlization of webpages in terms
of
> content and style the following questions below arised.  Maybe they
stem
> from the fact, that i still missed a couple of aspect and points,
maybe
> the requirement or idea is just not thought through enough, anyway:
> 
> a. Is it possible to "compose" pipelines and having the composed
> pipeline beeing processing bottom-up and the whole beeing rendered for
> example as html: A compostion of tables within table, frames within
> frame etc.,  where the content of the "elementary" pipelines are
> dyanmic, taking for examples data from the databases. I am aware that
> the aggregation <map:aggregate> mechansim provides a somewhat similiar
> construction, only the composition could also be composed of
aggregations.

I'm not sure I understood you correctly... But, if you want to aggregate
resources and do not know at the moment of writing sitemap what to
aggregate - then you can use "include" capabilities of Cocoon. It is
possible to do:

<map:generate/> to generate document with include tags (this can be from
database),
<map:transform type="cinclude"/> (or xinclude) - processed include tags
and includes content from the sources mentioned in these tags,
<map:serialize/> serializes results.

See http://xml.apache.org/cocoon/userdocs/transformers/transformers.html
for documentation on xinclude and cinclude transformers.


> b. Is it possible the change the sitemap or more specifically the
> piplines configuration ( <map:pipelines>)  dynamically.

No, this is not possible.

Regards,
Vadim


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


Mime
View raw message