SetChildAsInt

This method sets the value of an XML node. The value is transferred to the method as input parameter of data type Integer.
Syntax
METHOD SetChildAsInt : SXmlNode
VAR_INPUT
n : SXmlNode;
value : DINT;
END_VAR
Return value
Name | Type |
---|---|
SetChildAsInt | SXmlNode |
Inputs
Name | Type |
---|---|
n | SXmlNode |
value | DINT |
Sample call:
xmlNode := fbXml.SetChildAsInt(xmlExistingNode, 42);