Xml.XMLIntf.IXMLDocument.LoadFromXML

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure LoadFromXML(const XML: AnsiString); overload;
procedure LoadFromXML(const XML: DOMString); overload;

C++

virtual void __fastcall LoadFromXML(const System::AnsiString XML) = 0 /* overload */;
virtual void __fastcall LoadFromXML(const System::UnicodeString XML) = 0 /* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
Xml.XMLIntf.pas
Xml.XMLIntf.hpp
Xml.XMLIntf IXMLDocument

Description

Loads a string representation of an XML document and activates it.

Call LoadFromXML to assign a string as the value of the XML document. Unlike the XML property, which lets you assign XML on a line-by-line basis, LoadFromXML treats the text of the XML document as a whole.

After assigning the XML property as the contents of the document, LoadFromXML sets the Active property to true.

See Also