Field-Map Scripting

4.1.11.2.36 GetFirstChildElementboolean

GetFirstChildElementBoolean function


Prototype:

function GetFirstChildELementBoolean(const ElementPath  :string) :variant;

Description:

Gets value of the first child eLement as boolean

Syntax:

variable := TScriptXMLElement.GetFirstChildELementBoolean(ElementPath);


Part

Description


variable

A variable declared as a variant


ElementPath

A string parameter specifying the name of the required child elements and their location in the XML structure using the "/" delimiter - see the Example (TScriptXMLElementList).

Return value:

boolen



See also:

GetRootElement; GetElementName; GetChildElements; GetFirstChildElement; GetElementText; GetElementInteger; GetElementDouble; GetElementBoolean; GetElementCDATA; HasAttribute; HasNoNullAttribute; GetStringAttribute; GetStringAttributeAsString; GetStringAttributeAsDateTime; GetIntegerAttribute; GetIntegerAttributeAsInteger; GetFloatAttribute; GetFloatAttributeAsVariant; GetFloatAttributeAsFloat; GetBooleanAttribute; GetFirstChildElementStringAttribute; GetFirstChildElementStringAttributeAsString; GetFirstChildElementIntegerAttribute; GetFirstChildElementIntegerAttributeAsInteger; GetFirstChildElementFloatAttribute; GetFirstChildElementFloatAttributeAsVariant; GetFirstChildElementFloatAttributeAsFloat; GetFirstChildElementBooleanAttribute; Name; FreeXMLElement; SaveValuesToTable; GetRootElementName; GetFirstChildElementText; GetFirstChildElementinteger; GetFirstChildElementDouble; GetFirstChildElementboolean