RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLNode.OnHostAttrNotify Event

Occurs when changes occur to the attribute list of this node's HostNode.

Pascal
property OnHostAttrNotify: TNodeListNotification;
C++
__property TNodeListNotification OnHostAttrNotify;

Use the OnHostAttrNotify event to update a TXMLNode descendant that represents a hosted node (such as a collection of repeating child elements) when the host node changes its attribute list. 

The AttributeListNotify method of a host node generates an OnHostAttrNotify event on all of its hosted nodes. This allows the hosted nodes (for example, the nodes that represent a subset of the child nodes that are all the same type) to update their own representation of node attributes so that they reflect the attributes of the host node. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!