RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLDocument.RegisterDocBinding Method

Registers an implementation class for child nodes with a specified tag name.

Pascal
procedure RegisterDocBinding(const TagName: DOMString; DocNodeClass: TClass; NamespaceURI: DOMString = '');
C++
__fastcall RegisterDocBinding(const DOMString TagName, TClass DocNodeClass, DOMString NamespaceURI = '');

Call RegisterDocBinding to specify the implementation class for one of the child nodes of the document node. RegisterDocBinding replaces the specified node with an instance of the specified class. 

TagName is the tag name of the child node to be replaced. Typically, this identifies the document element. 

DocNodeClass is the implementation class to use for all child nodes with the specified tag name. 

NamespaceURI is the URI of the namespace in which TagName is defined. 

 

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