cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dev at weitling <>
Subject Re: xpath condition on xml data in sitemap
Date Thu, 22 Nov 2007 11:55:43 GMT

Sébastien Geindre wrote:
> Dev at weitling a écrit :
>> Another idea would be writing a custom selector choosing the
>> transformer.
> custom selector ?
> it will make the test on xml, and this xml could be pass to next
> transformer ?

That was one of my dreams, looking at the API of Selector it just made
*plop* and was gone.

>> Flowscript will probably get you the fastest but it's neither elegant
>> nor its intention.
> if flowscript are not elegant, what is the best practice ?

As Robin Rigby pointed out you could use a custom Action. It isn't
elegant either but you could use <map:resource> to prevent redundant
pipeline code.

Seems you have found an ugly side of Cocoon ;-)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message