W3C home > Mailing lists > Public > www-forms@w3.org > October 2001

evaluation context

From: Jérôme Nègre <jerome.negre@ecl2000.ec-lyon.fr>
Date: Tue, 16 Oct 2001 16:28:40 +0200
Message-ID: <00de01c1564e$da237840$630aa8c0@fischer>
To: <www-forms@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:50 GMT