SetChildAsBool

SetChildAsBool 1:

This method sets the value of an XML node. The value is transferred to the method as input parameter of data type Boolean.

Syntax

METHOD SetChildAsBool : SXmlNode
VAR_INPUT
  n     : SXmlNode;
  value : BOOL;
END_VAR

SetChildAsBool 2: Return value

Name

Type

SetChildAsBool

SXmlNode

SetChildAsBool 3: Inputs

Name

Type

n

SXmlNode

value

BOOL

Sample call:

xmlNode := fbXml.SetChild(xmlExistingNode, TRUE);