RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
xmldom.GetDOM Function

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

Pascal
function GetDOM(const VendorDesc: string = ''): IDOMImplementation;
C++
IDOMImplementation GetDOM(const AnsiString VendorDesc = '');

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.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!