AttributeAsBool

AttributeAsBool 1:

This method returns the value of an attribute as data type Boolean. The attribute is transferred to the method as input parameter.

Syntax

METHOD AttributeAsBool : BOOL
VAR_INPUT
  a : SXmlAttribute;
END_VAR

AttributeAsBool 2: Return value

Name

Type

AttributeAsBool

BOOL

AttributeAsBool 3: Inputs

Name

Type

a

SXmlAttribute

Sample call:

bValue := fbXml.AttributeAsBool(xmlAttr);