cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arda Balci" <aba...@globalforte.com>
Subject RE: two xml source files
Date Tue, 23 Apr 2002 13:26:38 GMT
Aggregation is working and it is simple !!

This way someone easily build dynamic menus? But I still can't figure
out why the cocooncenter.org navigation menu example is that much
complex?

Anyway thank you all,

Arda Balci
It Consultant

-----Original Message-----
From: Bert Van Kets [mailto:bert@visitronics.be] 
Sent: Tuesday, April 23, 2002 2:31 PM
To: cocoon-users@xml.apache.org
Subject: Re: two xml source files


At 14:15 23/04/2002 +0300, you wrote:

>I have two xml files. One is for the menu content, the other is for the

>body content. I want to read from these two different files with one
xsl 
>file, and serialize html.
>
>
>
>The menu file is to be used with each page.
>
>
>
>I couldn t solve the problem. Do I need a special pipeline in the
sitemap?

nope, you need aggregation.  Aggregation will glue the two XML files 
together into 1.  You can then XSLT the result as if it were 1 file.
Check out the aggregation part in 
http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html

Aggregation is also used in the Cocoon documentation to merge the menu
and 
the content.  Check it out.  It's a real beauty on the power of cocoon.
It 
was even better with the generated graphics, although a bit slow.

Bert


>
>
>
>
>Arda Balci
>
>It Consultant
>
>


---------------------------------------------------------------------
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>


---------------------------------------------------------------------
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