Think Kavitha wants both xml files available for the same xsl, so what he needs
is
<map:match pattern="make-book/**">
<map:aggregate element="book">
<map:part element="bookcontent" src="cocoon://bookcontent/{1}"/>
<map:part element="bookauthor" src="cocoon://bookauthor/{1}"/>
</map:aggregate>
<map:transform type="xslt" src="book.xsl" />
<map:serialize type="xml" />
</map:match>
<map:match pattern="bookcontent/**">
fetch bookcontent
</map:match>
<map:match pattern="bookauthor/**">
fetch bookauthor
</map:match>
etc
>
> How about:
>
> <map:match pattern="make-book/**">
> <map:generate type="file" src="{1}"/>
> <map:transform type="xslt" src="book.xsl" />
> <map:serialize type="xml" />
> </map:match>
>
> Cheers,
> Geert
>
> kavitha ramesh wrote:
>
> > Hi,
> >
> > I have two xml files,,book.xml and author.xml and one xsl
> file,,author's
> > book.xsl.
> > How can I process these two xml files with one xsl file in
> cocoon?how
> > should my pipeline in the sitemap look like?
> > Please suggest me,,,
> >
> > Kavitha
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
>
> --
> Drs. G.P.H. Josten
> Consultant
>
>
>
> Daidalos BV
> Source of Innovation
> Hoekeindsehof 1-4
> 2665 JZ Bleiswijk
> Tel: +31 (0) 10 850 1200
> Fax: +31 (0) 10 850 1199
> www.daidalos.nl
>
>
> De informatie - verzonden in of met dit emailbericht - is
> afkomstig van Daidalos BV en is
> uitsluitend bestemd voor de geadresseerde. Indien u dit
> bericht onbedoeld hebt ontvangen, verzoeken
> wij u het te verwijderen. Aan dit bericht kunnen geen rechten
> worden ontleend.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]