RE: Evaluation Context of actions?

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 UTC