- From: Josef Dietl <josef@mozquito.com>
- Date: Thu, 18 Oct 2001 16:15:17 +0200
- To: Jérôme Nègre <jerome.negre@ecl2000.ec-lyon.fr>, <www-forms@w3.org>
Hi Jérôme, this is really a very interesting approach that you bring up there. As far as I can tell, there is no definitive answer at this time. 6.3 defines that "The context node for non-outermost binding elements is determined by evaluating the binding expression of the immediately enclosing element." This breaks down in your example because you (try to) reset the context node by adding a "xform" attribute to the inner element. This makes sense but contradicts the earlier statement about the context node - with other words, you have discovered a gap in the spec. We ourselves have discovered that we need a way to merge the "xform" attribute with the "ref" and "nodeset" attributes, but we simply haven't figured out how to do that yet. Once we manage to do that, I hope that your problem will solve itself - until then, I appreciate your patience (and of course your report to begin with). We'll keep you up to date. Josef > -----Original Message----- > From: Jérôme Nègre [mailto:jerome.negre@ecl2000.ec-lyon.fr] > Sent: Tuesday, October 16, 2001 4:29 PM > To: www-forms@w3.org > Subject: 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 Thursday, 18 October 2001 10:15:49 UTC