NodeAsBool

NodeAsBool 1:

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

NodeAsBool 2: Return value

Name

Type

NodeAsBool

BOOL

NodeAsBool 3: Inputs

Name

Type

n

SXmlNode

Sample call:

bXmlNode:= fbXml.NodeAsBool(xmlMachine1);