i use another one approach
i aggregate a some xml files in sitemap
then i reorder elements inside the final xml [layout.xsl]
and send the result for processing
Note that with the document() function, you will run into other problems
with the default XSLT transformer. Caching, for one, will be wrong. If
you edit a document referenced by the document() function after the
stylesheet has been cached, it will not reflect the change (someone
correct me if
Jeff,
There are several ways to accomplish content aggregation in Cocoon:
(1) cinclude and xinclude
(2) The XSLT document() function (this seems to match your approach best)
(3) map:aggregate in a sitemap
(4) XSP includes
Each method has advantages/disadvantages relative to flexibility,
performa
lto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 2:16 PM
> To: [EMAIL PROTECTED]
> Subject: Aggregating XML
>
>
> Hi there,
>
> I'm relatively new to Cocoon and XML and I've been lurking on the
> list for a
> while. I have a problem that's stymied me
Hi there,
I'm relatively new to Cocoon and XML and I've been lurking on the list for a
while. I have a problem that's stymied me--perhaps someone could help me? I
want to build an aggregate web page from a set of simple XHTML pages by
extracting the contents of their bodies and aggregating them. I