GetElementCDATA function
Prototype: |
function GetElementCDATA: string; |
|
Description: |
The GetElementCDATA function returns the value of the specified XML element (i.e. the text between the opening and the closing tag of the element) as a string (provided it is a valid CDATA value). Note: A CDATA section starts with "<![CDATA[" and ends with "]]>". Everything inside a CDATA section is ignored by the parser. This means that XML reserved signs (angle brackets, "&") can be freely used inside a CDATA section without any effect on the XML file. |
|
Syntax: |
variable := TScriptXMLElement.GetElementCDATA; |
|
Part |
Description |
|
variable |
A variable declared as a string |
|
TScriptXMLElement |
A variable declared as an instance of the TScriptXMLElement class |
|
Return value: |
CDATA value of the specified element 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
© 2024 IFER-Monitoring and Mapping Solutions