GetRootElement function
Prototype: |
function GetRootElement: TScriptXMLElement; |
|
Description: |
The GetRootElement function is used to access the root element of the given XML document. Once inside the root element, TScriptXMLElement and TScriptXMLElementList members can be used. |
|
Syntax: |
variable := TScriptXMLDocument.GetRootElement; |
|
Part |
Description |
|
variable |
A variable declared as an instance of the TScriptXMLElement class |
|
TScriptXMLDocument |
A variable declared as an instance of the TScriptXMLDocument class |
|
Return value: |
the root XML element as an instance of the TScriptXMLElement class |
|
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
© 2024 IFER-Monitoring and Mapping Solutions