Xml.XMLDoc.TXMLNode.HasChildNode
Delphi
function HasChildNode(const ChildTag: DOMString): Boolean; overload;
function HasChildNode(const ChildTag, NamespaceURI: DOMString): Boolean; overload;
C++
bool __fastcall HasChildNode(const System::UnicodeString ChildTag)/* overload */;
bool __fastcall HasChildNode(const System::UnicodeString ChildTag, const System::UnicodeString NamespaceURI)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Xml.XMLDoc.pas Xml.XMLDoc.hpp |
Xml.XMLDoc | TXMLNode |
Description
Indicates whether the node has a child node with the specified name.
Applications can't call the protected HasChildNode method. It is used internally to determine when the underlying DOM node has a child with the specified name.
ChildTag is the local tag name of the child to find.
NamespaceURI identifies the namespace in which ChildTag is defined.
HasChildNode returns true if the underlying DOM node includes the specified child node. Otherwise, it returns false.