recursion in xtiger use

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,

Received on Monday, 23 November 2009 15:38:41 UTC