Xml.xmldom.GetDOM

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetDOM(const VendorDesc: string = ''): IDOMImplementation;

C++

extern DELPHI_PACKAGE _di_IDOMImplementation __fastcall GetDOM(const System::UnicodeString VendorDesc = System::UnicodeString());

Properties

Type Visibility Source Unit Parent
function public
Xml.Xmldom.pas
Xml.xmldom.hpp
Xml.xmldom Xml.xmldom


Description

Returns the top-level DOM interface for a registered DOM implementation.

Call GetDOM to obtain an IDOMImplementation interface that you can use for parsing and editing XML documents. The IDOMImplementation interface is the top-level DOM interface, which you can use to check for the presence of a specific feature or to obtain an interface for working with a DOM document.

VendorDesc is a short descriptive name that identifies the DOM implementation. This name is returned by the Description method of the DOM implementation factory that is used to register the implementation.

Note: The DOM implementation must be registered before you can access it using GetDOM. To register a DOM implementation, use the RegisterDOMVendor procedure.

See Also