NodeAsBool

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