> -----Original Message-----
> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 08, 2002 10:36 AM
> To: Cocoon-Dev
> Subject: [Proposal]: Advanced Value Substitution
> 
> 
> Hi,
> 
> here is a simple proposal for an easier value substitution algorithm
> in the sitemap.
> 
> Currently, if you nest actions and matchers you have to aware of
> the paths to get your information:
> <match pattern="**">
>   <act type="anything">
>       <read src="{directory}/{../1}"/>
>   </act>
> </match>
>
> This can get very complicated. When I first got contact with value
> substitution more than two years ago, I thought I could write:
> <read src="{directory}/{1}"/>
>

And what happens if in the next version of AnythingAction it does use '1' as a key ?

how about:
 <match pattern="**">
   <act type="anything" name="xx" >
       <read src="{directory}/{xx:1}"/>
   </act>
 </match>
or some other simillar syntax that doesn't collide with input-modules. 


Amir 
> 

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

Reply via email to