The copy element

Release 2.0 - ...

Structurally, this element is similar to the value element. It differs in that it can only be used within itemset, and that it works with subtrees of instance data rather than simple values.

Example

XML CopyCode image Copy Code
<xforms:itemset model="flavors" nodeset="/flavors/flavor">
   <xforms:label ref="@description"/>
   <xforms:copy ref="."/>
</xforms:itemset>

Attributes

Name Required / optional Description
Common Attributes optional Any attribute from the Common Attributes collection (e.g. id).
Single Node Binding Attributes optional One or more attributes from the Single Node Binding Attributes group (ref, model, bind).

Content

This element allows no content.

Specification

Link to the XForms specification: the copy element.