cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: great idea at 2:20 am :)
Date Mon, 04 Dec 2000 06:30:24 GMT
Hi Viktors 

Sorry to response late to your mail.

Viktors Rotanovs wrote:
> 
> Hi,
> 
> what if sitemap could contain something like this:
> 
> <map:aggregate element="page">
>         <map:generate src="docs/news.xml"/>
>         <map:generate src="docs/events.xml"/>
>         <map:generate src="docs/tasks.xml" select="task[@complete='No']/>
> </map:aggregate>

This is not exactly what we meant by content aggregation. We are not
looking for aggregating file (src=) because you can do that with
XInclude as well. We are looking for aggregating cocoon URI directly!

Look at the mail "[RT] Content aggregation" from Oct. 3rd from Stefano
Mazzocchi.

Giacomo
> 
> so contents of news.xml, events.xml and tasks.xml
> are be contained under one root element, "page"?
> Also note select on the last generate.
> 
> I'm relatively new to xml, please sorry if this
> is stupid.
> 
> --
> Best Wishes,
> Viktors Rotanovs
> http://riga.nu/ - XML websites, Riga, Latvia. Phone/Fax +371 7377-472

Mime
View raw message