<solprovider <at> apache.org> writes:

> > This just does not work. Selector has to be outside of transform.
> 
> So this is by design.  Why?  Should this be changed?

...

> Can this be fixed?  Cocoon processes inside-out so child elements are
> processed before the parent.  This function seems obvious.  I did not
> notice any warnings in the documentation.  I have not yet researched
> why this does not work.  Any suggestions?

I see how it would help you in your case. I don't consider it a good idea
though. A pipeline is about putting components together, so components are kind
of atomic units. What you want to do is to change component configuration. This
does not "feel right". You also can not put an if statement into a method call
in Java. The alternative in Java is the conditional operator [1]. In Cocoon you
therefore have input modules :-)

Joerg

[1] http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.25


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

Reply via email to