recursion in xtiger use
Daniel Hernández <[email protected]>
| Newsgroups | gmane.comp.web.amaya.general |
|---|---|
| Message-ID | <20091123153757.GA1480@maullin> |
Hello,
The XTiger specification of "use" says that recursion with "use"
is forbiden:
"The recursion is forbidden. For example, when the use is part of a
component, it cannot refer that component."
(http://www.w3.org/Amaya/Templates/XTiger-spec.html)
I understand that recursion have problems with structures as:
<xt:component name="comp">
<div>
<p>Name: <xt:use label="name" types="string"/></p>
<div><xt:use label="child" types="comp" /></div>
</div>
</xt:component>
But a structure like
<xt:component name="comp">
<div>
<p>Name: <xt:use label="name" types="string"/></p>
<xt:repeat>
<xt:use label="childs" types="comp" minOccur="0"/>
</xt:repeat>
</div>
</xt:component>
has some sense.
The second kind of recursion is allowed in any way?
Thanks,