Show: Delphi C++
Display Preferences

Xml.XMLDoc.LoadXMLData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function LoadXMLData(const XMLData: DOMString): IXMLDocument; overload;
function LoadXMLData(const XMLData: AnsiString): IXMLDocument; overload;

C++

extern DELPHI_PACKAGE Xml::Xmlintf::_di_IXMLDocument __fastcall LoadXMLData(const System::UnicodeString XMLData)/* overload */;

Properties

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

Description

Creates and returns the interface of an XML document object, given a string of XML.

Call LoadXMLData to create an XML document that represents a specified XML string and obtain its interface.

XMLData is the XML for which you want an IXMLDocument interface.

LoadXMLData returns an interface for the parsed value of XMLData.

LoadXMLData creates a new TXMLDocument object to parse the XML and returns its IXMLDocument. The TXMLDocument component is not given an owner, which means that it behaves like an interfaced object. When the application releases the interface that LoadXMLData returns, the TXMLDocument instance is automatically freed.

See Also

Personal tools
Translations