Xml.XMLIntf.IXMLDocument.GetDocBinding

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDocBinding(const TagName: DOMString;
DocNodeClass: TClass; NamespaceURI: DOMString = ''): IXMLNode;

C++

virtual _di_IXMLNode __fastcall GetDocBinding(const System::UnicodeString TagName, System::TClass DocNodeClass, System::UnicodeString NamespaceURI = System::UnicodeString()) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Xml.XMLIntf.pas
Xml.XMLIntf.hpp
Xml.XMLIntf IXMLDocument

Description

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

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.

See Also