Data.Cloud.CloudAPI.GetChildText

From RAD Studio API Documentation
Jump to: navigation, search

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);

Properties

Type Visibility Source Unit Parent
function public
Data.Cloud.CloudAPI.pas
Data.Cloud.CloudAPI.hpp
Data.Cloud.CloudAPI Data.Cloud.CloudAPI

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

NodeName

The name of the child node to get the text for

Parent

The parent node to get the child node for


See Also