- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Tue, 23 Apr 2019 16:24:19 +0200
- To: public-xformsusers@w3.org, "XForms Users Community Group Issue Tracker" <sysbot+tracker@w3.org>
First draft. The replace element This action replaces the content of an instance data node, a complement of setvalue. Common Attributes: Common, Events, Action Common, Single Item Binding Special Attribute: with Required expression giving a node whose content will replace that of the Single Item Binding. Content: EMPTY. The Single Item Binding is evaluated to give the target node; if it does not select an instance data node, or the instance data node is readonly, the action has no effect. The with attribute is evaluated in the Element Evaluation Context and the first-item rule is applied, to give the source node; if the result is not an instance data node then the action has no effect. The content of the target node is replaced with the content of the source node. Example <replace ref="address" with="contact/address[@type='home']"/>
Received on Tuesday, 23 April 2019 14:24:46 UTC