Hi Jorg,
 
correct me if im wrong. I have only been using cocoon for a while now, but i believe that you have to get the parameter value by using {../1}. Your pipeline will look like:
 
<map:pipeline>
<map:match pattern="render/*.svg">
   <map:act type="filestore">
     <map:aggregate element="aggregation">
        <map:part src=""/>
        <map:part src=""/>
     </map:aggregate>
   </map:act>
   <map:serialize type="xml"/>
</map:match>
</map:pipeline>
 
Hope this helps.


Jorg Heymans wrote:
Hi,

I was a bit surprised to see that below sitemap does not work
(ie aggregate within an action).
In the internal pipeline !*.svg! the {1} parameter is empty.

Any thoughts?

<map:pipeline internal->
  <map:match pattern="!*.svg!">
    <map:generate type="file" src=""/>
    <map:serialize type="xml"/>
  </map:match>

  <map:match pattern="!requestgenerator!">
    <map:generate type="request"/>
    <map:serialize/>
  </map:match>
</map:pipeline>

<map:pipeline>
<map:match pattern="render/*.svg">
  <map:act type="filestore">
    <map:aggregate element="aggregation">
    <map:part src=""/>
    <map:part src=""/>
    </map:aggregate>
  </map:act>
  <map:serialize type="xml"/>
</map:match>
</map:pipeline>


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


Reply via email to