DOM Builder Reference > General XML API Methods > addNode
  
addNode
This method creates a new child element node under a given parent element node, with a specified name and value.
The following table lists parameters of addNode.
 
Parameter Name
Type
Description
I/O
Req
nodeName
Char
Name of the new element node.
I
Y
nodeValue
Char
Value of the new element node.
I
N
parentNode
Handle
X-NODEREF object pointing to the element node that will be the parent of the new element.
I
Y
newNode
Handle
X-NODEREF object pointing to the new element node.
O
Y