Field-Map Scripting

4.1.11.2.2 GetElementName

GetElementName function


Prototype:

function GetElementName: string;

Description:

The GetElementName function returns the name of the given XML element passed as a TScriptXMLElement object. An analogy to this function is the Name property.

Syntax:

variable := TScriptXMLElement.GetElementName;


Part

Description


variable

A variable declared as a string


TScriptXMLElement

A variable declared as an instance of the TScriptXMLElement class

Return value:

XML element name as a string


Note: This function is available since version X7.



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