Xml.XMLDoc.TXMLDocument.RegisterDocBinding

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure RegisterDocBinding(const TagName: DOMString;  DocNodeClass: TClass; NamespaceURI: DOMString = '');

C++

void __fastcall RegisterDocBinding(const System::UnicodeString TagName, System::TClass DocNodeClass, System::UnicodeString NamespaceURI = System::UnicodeString());

Properties

Type Visibility Source Unit Parent
procedure
function
public
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLDocument

Description

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

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.

See Also

Code Examples