try to aggregate 2 pipeline matches

        <map:match pattern="out/*.xml">
                <map:aggregate element="page">
                        <map:part src="cocoon://trans/{1}.xml"/>
                        <map:part src="cocoon://xml/{1}.xml"/>
                </map:aggregate>
                <map:transform/>
                <map:serialize/>
        </map:match>
        <map:match pattern="trans/*.xml">
                <map:generate src="{1}.xml"/>
                <map:transform/>
                <map:serialize type="xml"/>
        </map:match>
        <map:match pattern="xml/*.xml">
                <map:generate src="{1}.xml"/>
                <map:serialize type="xml"/>
        </map:match>

--stavros


On Mon, 28 Jun 2004, Java Developer wrote:

> Hi All, 
> 
> I am using cocoon with xsl and struts1.1
> 
> In one of the user request our webapp (<map:match pattern="blah/**.*">)
> 
> 1. Generates the xml 
> 2. Transform the generated xml using some xsls into image, and saves
> it.
> 3. Now it needs the orignially generated xml(at step no. 1) inorder to
> paint the html page properly.  
> 
> Since the original xml has been changed after under going  many
> transformations, i tried to use generator tag again in the same match,
> but it doesn't work. 
> 
> There should be a simpler way to get the original xml in the middle of
> processing..pls suggest me. 
> 
> 
> 
> 
> 
> =====
> - Java Developer
> 
> __________________________________________________
> 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]
> 
> 


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

Reply via email to