Field-Map Scripting

4.1.11.2.33 GetFirstChildElementText

GetFirstChildElementText function


Prototype:

function GetFirstChildELementText(const ElementPath  :string) :string;

Description:

Gets text of the first child eLement

Syntax:

variable := TScriptXMLElement.GetFirstChildElementText(ElementPath);


Part

Description


variable

A variable declared as a string


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:

string with the first child element text



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