Xml.XMLDoc.NewXMLDocument

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function NewXMLDocument(Version: DOMString = '1.0'): IXMLDocument;

C++

extern DELPHI_PACKAGE Xml::Xmlintf::_di_IXMLDocument __fastcall NewXMLDocument(System::UnicodeString Version = L"1.0");

Properties

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

Description

Returns the interface for a new, empty XML document.

Call NewXMLDocument to create a TXMLDocument object for a new, empty XML document.

Version specifies the XML version that the document should use. It becomes the value of the new document's Version property.

See Also