Show: Delphi C++
Display Preferences

Xml.XMLDoc.LoadXMLDocument

From XE2 API Documentation
Jump to: navigation, search

Delphi

function LoadXMLDocument(const FileName: DOMString): IXMLDocument;

C++

extern PACKAGE Xml::Xmlintf::_di_IXMLDocument __fastcall LoadXMLDocument(const System::UnicodeString FileName);

Properties

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

Description

Returns the interface for an XML document given the name of an XML file.

Call LoadXMLDocument to load an XML document from a file on disk and obtain its interface. LoadXMLDocument creates a new TXMLDocument object and uses it to parse the file specified by the FileName parameter. The TXMLDocument component is not given an owner, which means that it behaves like an interfaced object. When the application releases the interface that LoadXMLDocument returns, the TXMLDocument instance is automatically freed.

See Also

Personal tools
Previous Versions
Translations