> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>
>
> Finally got it! The {1} vs. {../1} thing was a little tricky to find
out.
> BTW: If both (jpg and svg) exist, though both actions should be
taken,
> cocoon seems to prefer the svg. How is the conflict resoveld? Is any
First encountered
> <map:serialize> or <map:read> final and the rest ignored?
And execution of the sitemap stops. Yes.
Vadim
> <map:match pattern="images/**.jpg">
> <map:act type="resource-exists">
> <map:parameter name="url" value="images/{1}.svg"/>
> <map:generate src="images/{../1}.svg"/>
> <map:serialize type="svg2jpeg"/>
> </map:act>
> <map:act type="resource-exists">
> <map:parameter name="url" value="images/{1}.jpg"/>
> <map:read src="images/{../1}.jpg" mime-type="image/jpeg"/>
> </map:act>
> </map:match>
>
>
> Joern
---------------------------------------------------------------------
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]>