--- Bertrand Delacretaz <[EMAIL PROTECTED]> wrote:I've been (wild-)thinking about combining Tim Larson's EffectTransformer (http://wiki.cocoondev.org/Wiki.jsp?page=TimLarson) with interpreted code to make it easier to write scriptable transforms but it's just a wild dream at this point.
Intriguing idea. Let me know if you make any progress on this (ideas or
code). I have no time to experiment with it right now, but this looks
like an interesting direction. Eventually the EffectTransformer will be
used for other structured data besides XML, and this scripting idea may
be just the ticket.
The basic idea (again, not tested at all) would be to have your EffectTransformer call pieces of scriptable code, instead of inner classes (IIRC) to handle the various elements. This should be doable using the BSF (Bean Scripting Framework) which is present in the bsf block.
I also have no time to look at this now, but it might be worth trying.
-Bertrand
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
