RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLDocument.GetDocBinding Method

Replaces a specified child node with an instance of a specified implementation class.

Pascal
function GetDocBinding(const TagName: DOMString; DocNodeClass: TClass; NamespaceURI: DOMString = ''): IXMLNode;
C++
__fastcall IXMLNode GetDocBinding(const DOMString TagName, TClass DocNodeClass, DOMString NamespaceURI = '');

Call GetDocBinding to specify the implementation class for one of the child nodes of the document node. After replacing the specified node with an instance of the specified class, GetDocBinding returns the interface of the document element. 

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!