NodeAsInt

This method returns the text of an XML node as a data type Integer. The XML node is transferred to the method as input parameter.
Syntax
METHOD NodeAsInt : DINT
VAR_INPUT
n : SXmlNode;
END_VAR
Return value
Name | Type |
---|---|
NodeAsInt | DINT |
Inputs
Name | Type |
---|---|
n | SXmlNode |
Sample call:
nXmlNode:= fbXml.NodeAsInt(xmlMachine1);