SetChildAsBool

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
Return value
Name | Type |
---|---|
SetChildAsBool | SXmlNode |
Inputs
Name | Type |
---|---|
n | SXmlNode |
value | BOOL |
Sample call:
xmlNode := fbXml.SetChild(xmlExistingNode, TRUE);