evaluation context

Hi,

what is the context-node of a non-outermost element *with an xform
attribute* ?

Is it determined by evaluating the immediatly enclosing element as stated in
chapter 6.3, or is it the <xform:instance> element indicated by the xform
attribute ?

I think the latter would be more useful, like in the following example :

<xform:xform id="form_1">
...<!-- definition of possible answers -->
</xform:xform>
<xform:xform id="form_2">
... <!-- choice of user -->
</xform:xform>

...

<xform:selectOne xform="form_2" ref="path/to/choice">
...
<xform:repeat xform="form_1" nodeset="list/of/possible/answers">
<xform:itemref ref="@value"><xform:caption><xform:output ref="@name"
/></xform:caption></xform:itemref>
</xform:repeat>
</xform:selectOne>

So, is it possible to have something like that, or is there another way to
do this ?

Thanks for your feedback,

Jérôme Nègre

Received on Tuesday, 16 October 2001 10:29:11 UTC