Re: [2.1.11] Selectors in map:transform

2008-02-16 Thread Joerg Heinicke
On 16.02.2008 10:37, [EMAIL PROTECTED] wrote: "A pipeline is about putting components together." This code is deciding which components should be put together. No, it decides about one component's configuration. map:parameter is not a component. This feels like one line of code was left o

Re: [2.1.11] Selectors in map:transform

2008-02-16 Thread solprovider
On 2/16/08, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote: > On Feb 14, 2008 5:02 PM, <[EMAIL PROTECTED]> wrote: > > ... > > > > > > ... > > Instead of using empty.xml, your input could be another pipeline, > which output depends on your resource-exists selector. And use that > info in

Re: [2.1.11] Selectors in map:transform

2008-02-16 Thread solprovider
On 2/15/08, Joerg Heinicke <[EMAIL PROTECTED]> wrote: > 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

Re: [2.1.11] Selectors in map:transform

2008-02-16 Thread Bertrand Delacretaz
On Feb 14, 2008 5:02 PM, <[EMAIL PROTECTED]> wrote: > ... > > > ... Instead of using empty.xml, your input could be another pipeline, which output depends on your resource-exists selector. And use that info in your xsl transform. -Bertrand

Re: [2.1.11] Selectors in map:transform

2008-02-15 Thread Joerg Heinicke
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 no

Re: [2.1.11] Selectors in map:transform

2008-02-15 Thread solprovider
On 2/14/08, Joerg Heinicke <[EMAIL PROTECTED]> wrote: > On 14.02.2008 11:02, [EMAIL PROTECTED] wrote: > > Cocoon-2.1.11 > > Selector is ignored inside a transform -- test2 is the empty string. > > Is this by design or a bug? > > Or did I miss something? > > This just does not work. Selector has

Re: [2.1.11] Selectors in map:transform

2008-02-14 Thread Joerg Heinicke
On 14.02.2008 11:02, [EMAIL PROTECTED] wrote: Cocoon-2.1.11 Selector is ignored inside a transform -- test2 is the empty string. Is this by design or a bug? Or did I miss something? This just does not work. Selector has to be outside of transform. Joerg --

[2.1.11] Selectors in map:transform

2008-02-14 Thread solprovider
Cocoon-2.1.11 Selector is ignored inside a transform -- test2 is the empty string. Is this by design or a bug? Or did I miss something? solprovider XMAP Excerpt XSL Excerpt -