AppendCopy

This method inserts a new node below an existing node. The name and value of the new node are copied from an existing node. The references to the existing nodes are transferred to the method as input parameters. The method returns a reference to the newly added node.
Syntax
METHOD AppendCopy : SXmlNode
VAR_INPUT
n : SXmlNode;
copy : SXmlNode;
END_VAR
Return value
Name | Type |
---|---|
AppendCopy | SXmlNode |
Inputs
Name | Type |
---|---|
n | SXmlNode |
copy | SXmlNode |
Sample call:
xmlNewNode := fbXml.AppendCopy(xmlParentNode, xmlExistingNode);