Here's my problem
- I have several generators able to generate nice XML contents
- For each generator, I have a separate XSL style sheet for converting
the content to HTML
- I want to have a XML document describing the content and the layout of
a page. My page aggregates contents from several generators:

For  instance :

<layout:page
      xmlns:layout="http://www.odb.fr/layout";
      name="actions" title="Recherche Actions" section="espace"
subsection="actions">

   <layout:layout type="table">
       <layout:row>
         <layout:panel>
           <layout:display source="content1"/>
         </layout:panel>
         <layout:panel>
           <layout:display source="content2"/>
         </layout:panel>
       </layout:row>
       <layout:row>
         <layout:panel>
           <layout:display source="content3"/>
         </layout:panel>
         <layout:panel>
           <layout:display source="content4"/>
         </layout:panel>
       </layout:row>
   </layout:layout>
</layout:page>

(layout:display refers to a XML generator in this sample, other tags
specify the page layout)

Each layout tag is converted to html with a xsl sheet.

My questions are
1 - What is the best, converting each XML piece to HTML and aggregate
the HTML OR aggregate the XML documents and converting the whole to HTML
at the end ?
2 - What should I use ? Cinclude, Xinclude or the map:aggregate
directive in the sitemap ?
Hint : I'd like all the contents in a page to be generated concurrently.

Any help appreciated.

Cyril




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