Show: Delphi C++
Display Preferences

Xml.Win.msxmldom.CreateDOMDocument

From XE2 API Documentation
Jump to: navigation, search


Delphi

function CreateDOMDocument: IXMLDOMDocument;

C++

extern PACKAGE _di_IXMLDOMDocument __fastcall CreateDOMDocument(void);

Properties

Type Visibility Source Unit Parent
function public
Xml.Win.msxmldom.pas
Xml.Win.msxmldom.hpp
Xml.Win.msxmldom Xml.Win.msxmldom

Description

Creates a DOM document from scratch. CreateDOMDocument tries to create an IXMLDOMDocument, which is an interface to a DOM document. You can use the result of CreateDOMDocument to construct a TMSDOMDocument:

// Doc is a TMSDOMDocument
Doc := TMSDOMDocument.Create(CreateDOMDocument);
// Doc is now initialized but empty

You must call CoInitializeEx before using CreateDOMDocument.

See also

Personal tools
Previous Versions
Translations