Data.Cloud.CloudAPI.GetChildText
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Data.Cloud.CloudAPI.pas Data.Cloud.CloudAPI.hpp
| |
| Unit: Data.Cloud.CloudAPI | |
| Parent: Data.Cloud.CloudAPI | |
Delphi
function GetChildText(const NodeName: string; Parent: IXMLNode): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetChildText(const System::UnicodeString NodeName, Xml::Xmlintf::_di_IXMLNode Parent);
Description
Returns the text contained within the child element.
GetChildText finds the first matching child tag with the given name and, if it is a text element, returns the text contained within it. If it is not a text element or it is not found, then an empty string is returned.
The following table shows the significance of the parameters for both the overloaded methods:
| Parameter | Description |
|---|---|
|
|
The name of the child node to get the text for |
|
|
The parent node to get the child node for |