RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.ChildNodes Property

Lists the child nodes of this node.

Pascal
property ChildNodes: IXMLNodeList;
C++
__property IXMLNodeList ChildNodes;

TXMLNode uses ChildNodes to keep track of the subnodes of a node. ChildNodes is an IXMLNodeList interface, which can be used to access individual child nodes or to add child nodes to or delete them from this node. Each child node specifies this node as its parent node. 

Applications can't use this protected property to access the child nodes of a node. Instead, they use the ChildNodes property of the IXMLNode interface for this node.

Note: Attributes are not considered child nodes of a node. To get the values of this node's attributes, use the Attributes property instead.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!