Below sitemap snippet just seems so counter-intuitive that i thought i'ld share it.

<map:match pattern="*.*">
  <map:act type="resource-exists">
    <map:parameter name="url" value="file://{1}.{2}"/>        
    <map:aggregate element="aggregation" label="debug1">
        <map:part src="file://{../1}.{../2}"/>
        <map:part src="cocoon:/{../1}"/>
    </map:aggregate>
......

The url action parameter does not need the extra {../} while the ones inside the aggregation do! (note that aggregation can be replaced by plain transformers etc)

I guess the reason is that the src parameter belongs to the action level itself.

Admit, this looks strange (and had me going for a few minutes!)

Jorg


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



Reply via email to