cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Vandyck <arnaud.vand...@ulg.ac.be>
Subject Aggregation solution [was Re: Aggregation problem]
Date Wed, 13 Mar 2002 14:16:51 GMT
"Vadim Gritsenko" <vadim.gritsenko@verizon.net> wrote:

> > From: KOZLOV Roman [mailto:r-kozlov@opencascade.com]
> > 
> > Hi Arnaud,
> > 
> > It is necessary to define element for each map:part also:
> >           <map:part src="cocoon:/autolayout.xml" element="uuu"/>
> >           <map:part src="cocoon:/coco.xml" element="ooo"/>
> 
> This is *not* necessary.

See the documentation examples in cocoon  (you also do not need to add
the namespace argument)...

> > Arnaud Vandyck wrote:
> > 
> > > Hi all,
> > >
> > > I have these entries in a sub-sitemap:
> > >
> > >       <map:match pattern="autolayout.xml">
> > >         <map:read src="docs2/autolayout.xml" mime-
> > type="text/xml"></map:read>
> > >                 <map:serialize type="xml" />
> 
> This is invalid pipeline. When you use <map:read/>, you can not use
> serializer. And, IIRC, pipeline with the map:read can not be aggregated.
> Try map:generate instead (with map:serialize).

... but I missed this! 

Thank you Vadim, it works fine.

-- Arnaud http://vbstefi60.fapse.ulg.ac.be/

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message