I'm not very familiar with actions, but shouldn't it be something like
<map:match pattern="somepage.xml">
<map:act type="my-act" src="{0}">
<map:generate/>
<map:transform src="{return-act-param}"/>
<map:serialize/>
</map:act>
</map:match>
Regards,
Joerg
Artur Bialecki wrote:
> Sitemap parameters that are returned by an actions
> are not available when <map:act> doesn't have any
> child nodes other than <map:parameters/>.
>
> So the following doesn't work:
> <map:match pattern="somepage.xml">
> <map:act type="my-act" src="{0}"/>
> <map:generate/>
> <map:transform src="{return-act-param}"/>
> <map:serialize/>
> </map:match>
>
> but this does:
>
> <map:match pattern="somepage.xml">
> <map:act type="my-act" src="{0}">
> <map:generate/>
> </map:act>
> <map:transform src="{return-act-param}"/>
> <map:serialize/>
> </map:match>
>
> Any reason for this ??
>
> Thanks,
>
> Artur...
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>