Adds an existing element to a node (document or element). The command belongs to the group "Document".
| Parameter Name | Description | Type |
|---|---|---|
| EleRef | The name of the reference to the element. | elementReference |
| NodeRef | The name of the reference to the node. | nodeReference |
<DocRoot>
<Child1/>
<Child2/>
<Child3/>
</DocRoot>The following command adds the element:
<AddEle EleRef="$RefToChild" NodeRef="$MyDoc"/>After executing the command the document looks like this:
<DocRoot>
<Child1/>
<Child2/>
<Child3/>
<MyChild/>
</DocRoot>