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 Tue, 05 Dec 2000 21:15:01 GMT
Donald Ball wrote:
> 
> On Mon, 4 Dec 2000, Giacomo Pati wrote:
> 
> > 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!
> 
> welllllll.... that's not entirely the same thing. with viktors' approach,
> you control the includes in the sitemap, whereas with xincludes, you
> control the includes in the xml content. i can see how both approaches
> might be appealing in different situations.

You're right. And we are again at the point where it would be very
usefull to have the src attribute of a generator not only handles file
but also URLs which will accesses the sitemaps internally processed URIs
directly as a ContentHandler. Do you agree?

Giacomo

Mime
View raw message