Hi,
I'm having the following situation in my xml file
that I want to bind:
<set>
<item>
</item>
<item>
<item>
</item>
<item>
</item>
</item>
</set>
So 'Item' can be nested in another 'Item'. Is there
an easy way to describe such a recursion in the defintion/binding and
template?
Think of the example:
<question_list>
<question: Do you have a
green face? answer: (input)>
<question: if yes, why did it go green?
answer:(input)/>
<question: if no, ....>
</question>
<question....>
</question_list>
Currently, my nesting only goes two deep (so I
could go around the recursion stuff) , but if it changes, well, you got the
idea...
(setup: latest Cocoon 2.1 Head CVS
version)
Bye,
Jan
|
- Re: [Woody]Repeater recursion / element nesting? Jan Hoskens
- Re: [Woody]Repeater recursion / element nesting? Jan Hoskens