W3C home > Mailing lists > Public > www-forms@w3.org > August 2002

RE: Evaluation Context of actions?

From: Micah Dubinko <MDubinko@cardiff.com>
Date: Tue, 13 Aug 2002 13:24:43 -0700
Message-ID: <E840F0B7E6189547BDB91DA8BF2228AB28C6A0@csmail.cardiff.com>
To: "'duke'" <mclay@aon.at>, www-forms@w3.org

Hi Michael,

By "evaluation context" do you mean for XPath? It should be the same set of
rules as the rest of XForms, namely, on a tree walk from the containing
document node to the containing document root, the first (or "outermost")
set of binding attributes you encounter will set the XPath context node.

If you get all the way to the root without seeing an element with binding
attributes, then the XPath context node is the top-level element in the
instance data (yes, this is a change).

So, to answer your question more directly, setValue (now setvalue), insert,
and delete all contain binding attributes and thus set a new context node.
setRepeatCursor (now setindex) does not change the context node, and uses
whatever is in scope already.

.micah

-----Original Message-----
From: duke [mailto:mclay@aon.at]
Sent: Friday, August 02, 2002 10:32 AM
To: www-forms@w3.org
Subject: Evaluation Context of actions?


Hi!
 
Can anybody describe the the evaluation context for actions like
 
.setRepeatCursor
.setValue
.insert
.delete
....
 
best regards
 
Michael Clay
 
Received on Tuesday, 13 August 2002 16:24:53 GMT

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