On 26.Feb.2002 -- 02:31 PM, marco wrote:
> I don't know exactly how to invoke action mutiple times with serveral
> descriptor files.
>
> Would you please demonstrate it?
out of my head (check syntax!):
<map:match ......>
<map:act name="db-upd">
<map:parameter name="descriptor" value="one.xml"/>
</map:act>
<map:act name="db-upd">
<map:parameter name="descriptor" value="two.xml"/>
</map:act>
<map:generate ..../>
<....>
</map:match>
or have the same action available under two names:
<map:actions>
<map:action name="upd1" class="org.apache....DatabaseUpdateAction">
<descriptor>one.xml</descriptor>
</map:action>
<map:action name="upd2" class="org.apache....DatabaseUpdateAction">
<descriptor>two.xml</descriptor>
</map:action>
</map:actions>
<map:match ......>
<map:act name="upd1"/>
<map:act name="upd2"/>
<map:generate ..../>
<....>
</map:match>
HTH
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>