Xml.XMLIntf.IXMLDocument.XML

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property XML: TStrings read GetXML write SetXML;

C++

__property System::Classes::TStrings* XML = {read=GetXML, write=SetXML};

Properties

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

Description

Specifies the content of the XML document associated with this IXMLDocument interface.

Read XML to obtain the contents of the associated XML document. Set XML to specify the raw (unparsed) XML you want to examine or manipulate.

XML is a TStrings object. This means you can manipulate the XML line by line. To read or write the XML in the document as a single string, use the LoadFromXML or SaveToXML method.

Note: If you call the LoadFromFile, LoadFromStream, or LoadFromXML method, XML is automatically updated to reflect the contents of that file.

See Also