cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: New expression language usage
Date Mon, 28 Jan 2008 09:55:34 GMT
Reinhard Poetz pisze:
> Torsten Curdt wrote:
>>
>> On 28.01.2008, at 00:53, Grzegorz Kossakowski wrote:
>>
>>
>> <snip type="complicated expressions"/>
>>
>> Have my cocoon skills gone so rusty or did I just not get the
>> question? What's wrong with the good old ways to referring to first
>> match?
>>
>>   <map:match pattern="matching/*">
>>     <map:generate src="sax-pipeline/{1}.xml"/>
>>
>>   <map:match pattern="matching/*">
>>     <map:generate src="sax-pipeline/{\1}.xml"/>
>>
>>   <map:match pattern="matching/*" name="root">
>>     <map:generate src="sax-pipeline/{#root:1}.xml"/>
> 
> Grek, what's the suggested new syntax for these three use cases?

The same as above; the plan is to reuse existing code. It maybe quite troublesome since the
second
and third syntax is new for me...

-- 
Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon
http://reflectingonthevicissitudes.wordpress.com/

Mime
View raw message