Creates a new element within a node (document or element). The command belongs to the group "Document".
| Parameter Name | Description | Type |
|---|---|---|
| CopyAttr | Indicates whether to copy all attributes of the element defined in EleRef ('true' oder 'false') default = 'true'. | valueexpression |
| CopySubEle | Indicates whether to copy all subelements of the element defined in EleRef ('true' oder 'false') default = 'true'. | valueexpression |
| EleName | The name of the new element. | valueexpression |
| EleRef | The name of the reference to the element used to copy its content. | elementReference |
| NewEleRef | The name of the reference under which the new element will be accessible. | saveElementReference |
| NodeRef | The name of the reference to the node. | nodeReference |
<CreateEle EleName="newElement" NodeRef="$myElement" NewEleRef="$newElementReference"/>