On 12/19/05, kavitha ramesh <[EMAIL PROTECTED]> wrote:
> Ard Schrijvers,Markus Vaterlaus and Geert Josten,,,Many Thanks for your
> suggestions,,,
>
> I tried the following way and it works,,
>
> <map:match pattern="one">
>      <map:generate src="author.xml"/>
>      <map:serialize type="xml"/>
>    </map:match>

If author.xml already exists like the desired xml file, then think
about using a reader instead  of generator and serializer.

HTH

Markus

>    <map:match pattern="two">
>      <map:generate src="book.xml"/>
>      <map:serialize type="xml"/>
>    </map:match>
>  </map:pipeline>
>  <map:pipeline>
>    <map:match pattern="authorsbook.html">
>      <map:aggregate element="cd">
>        <map:part src="cocoon:/one" element="author"/>
>        <map:part src="cocoon:/two" element="book"/>
>   &nbsp ;  </map:aggregate>
>      <map:transform src="style/xsl/authorbook.xsl"/>
>      <map:serialize type="html"/>
>    </map:match>
>
> Regards
> Kavitha
>
> kavitha ramesh <[EMAIL PROTECTED]> 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
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]