- From: Mark Birbeck <mark.birbeck@x-port.net>
- Date: Fri, 2 Sep 2005 16:39:48 +0100
- To: "'Sergey Shebanin'" <splash@rulogic.ru>
- Cc: <www-forms@w3.org>
Hi Sergey, > I think that context for xf:setvalue/@value must be same as > context for xf:output/@value. It's a tricky one, and whichever way you do it could be argued to be the most 'logical'. The advantage of the way it is specified at the moment though, is that it is consistent with the idea that @ref changes the evaluation context. So when looking through an XForms document you can quickly see evaluation contexts by looking for @refs and @nodesets. In this sense it is also consistent with xf:bind: <xf:bind nodeset="x" calculate=". + 1" /> i.e., you can see xf:bind/@calculate as a xf:setvalue that is executed on the change of a dependent node. Also, your method would make it very difficult to do things like this: <xf:setvalue ref="." value=". + 1" /> Regards, Mark Mark Birbeck CEO x-port.net Ltd. e: Mark.Birbeck@x-port.net t: +44 (0) 20 7689 9232 w: http://www.formsPlayer.com/ b: http://internet-apps.blogspot.com/ Download our XForms processor from http://www.formsPlayer.com/
Received on Friday, 2 September 2005 15:41:12 UTC