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

Reply via email to