AppendChildAsUlint

AppendChildAsUlint 1:

This method inserts a new node below an existing node. The value of the new node has the data type Unsigned Integer64. The name and value of the new node and a reference to the existing node are transferred to the method as input parameters. The method returns a reference to the newly added node.

Syntax

METHOD AppendChildAsUlint : SXmlNode
VAR_INPUT
  n     : SXmlNode;
END_VAR
VAR_IN_OUT CONSTANT
  name  : STRING;
END_VAR
VAR_INPUT
  value : ULINT;
END_VAR

AppendChildAsUlint 2: Return value

Name

Type

AppendChildAsUlint

SXmlNode

AppendChildAsUlint 3: Inputs

Name

Type

n

SXmlNode

value

ULINT

AppendChildAsUlint 4:/AppendChildAsUlint 5: Inputs/Outputs

Name

Type

name

STRING

Sample call:

xmlNewNode := fbXml.AppendChildAsUlint(xmlExisting, 'SomeName', 42);