"Vadim Gritsenko" <[EMAIL PROTECTED]> wrote:

> > From: KOZLOV Roman [mailto:[EMAIL PROTECTED]]
> > 
> > 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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to