On Sun, 24 Jun 2001, John Morrison wrote:
>
>
> > -----Original Message-----
> > From: Mariano Kamp [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, 24 June 2001 8:57 am
> > To: [EMAIL PROTECTED]
> > Subject: Re: Agregating serverpages...?
> >
> >
> > On Friday 22 June 2001 08:55 pm, Giacomo wrote:
> > > On Fri, 22 Jun 2001, Morrison, John wrote:
> > > > Could anybody please tell me if the following is possible/correct...?
> > > >
> > > > <map:match pattern="myscript.sh">
> > > > <map:aggregate element="page">
> > > > <map:part src="catalog" element="public"/>
> > > > <map:part src="parameters" element="parameters"/>
> > > > </map:aggregate>
> > > > <map:serialize/>
> > > > </map:match>
> > > >
> > > > <map:match pattern="parameters">
> > > > <map:generate type="serverpages" src="docs/parameters.xml"/>
> > > > </map:match>
> > > >
> > > > <map:match patter="catalog">
> > > > <map:generate src="docs/experiancatalog.xml"/>
> > > > </map:match>
> > >
> > > Unfortunately the sitemap cannot know where the sitemap component
> > > selection process would end. It's not enought to close the match
> > > element. You need to specify a serializer to signal end-of-pipeline to
> > > the sitemap. So your example should work if you write it like this:
> > >
> > > <map:match pattern="myscript.sh">
> > > <map:aggregate element="page">
> > > <map:part src="catalog" element="public"/>
> > > <map:part src="parameters" element="parameters"/>
> > > </map:aggregate>
> > > <map:serialize/>
> > > </map:match>
> > >
> > > <map:match pattern="parameters">
> > > <map:generate type="serverpages" src="docs/parameters.xml"/>
> > > <map:serialize/>
> > > </map:match>
> > >
> > > <map:match patter="catalog">
> > > <map:generate src="docs/experiancatalog.xml"/>
> > > <map:serialize/>
> > > </map:match>
> >
> > I am just curious about how to use cocoon. Doing it with the default
> > serializer would mean to convert sax events to xml and in the
> > aggregation it
> > will be transformed back to sax events?
>
> In short - I don't know cocoon well enough to comment. I should point out
> though that the default serializer for the demo webapp is html, the default
> serializer for the above code is xml.
No, the ContentAggregator uses the EventPipelines directly. There is no
serializing/deserializing.
Giacomo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]