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:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 2:31 PM To: [EMAIL PROTECTED] 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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]>