SetAttributeAsBool

This method sets the value of an attribute. The value has the data type Boolean.
Syntax
METHOD SetAttributeAsBool : SXmlAttribute
VAR_INPUT
a : SXmlAttribute;
value : BOOL;
END_VAR
Return value
Name | Type |
---|---|
SetAttributeAsBool | SXmlAttribute |
Inputs
Name | Type |
---|---|
a | SXmlAttribute |
value | BOOL |
Sample call:
xmlAttr := fbXml.SetAttributeAsBool(xmlExistingAttr, TRUE);