Xml.XMLIntf.IXMLNode.HasChildNodes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property HasChildNodes: Boolean read GetHasChildNodes;

C++

__property bool HasChildNodes = {read=GetHasChildNodes};

Properties

Type Visibility Source Unit Parent
property public
Xml.XMLIntf.pas
Xml.XMLIntf.hpp
Xml.XMLIntf IXMLNode

Description

Indicates whether this node has any child nodes.

HasChildNodes is true if the underlying DOM node has any child nodes, false if it has no children.

Note that in the underlying DOM implementation, given the following XML

<Title> Understanding XML </Title>

the "Title" node has a single child (a text node with the value 'Understanding XML').

See Also