RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TXMLDocument.DOMVendor Property

Specifies the DOM implementation to use for parsing and manipulating the XML document.

Pascal
property DOMVendor: TDOMVendor;
C++
__property TDOMVendor DOMVendor;

DOMVendor is the object that represents a registered DOM implementation. TXMLDocument uses this object to obtain an IDOMImplementation interface, which it can use to access all the other DOM interfaces needed for parsing and manipulating the XML document. Once DOMVendor is assigned, TXMLDocument obtains the IDOMImplementation interface (when needed) and assigns it to the DOMImplementation property. 

DOMVendor must be registered before it can be used to obtain an IDOMImplementation interface. For a list of all the currently registered DOM implementations, use the global DOMVendors variable. To obtain a specific DOM implementation, given its description, use the global GetDOMVendor function. Use the RegisterDOMVendor procedure to register a new DOM implementation. 

You must assign a value to either DOMVendor or DOMImplementation before you can set the Active property to true. 

 

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