RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
IXMLDocument.XML Property

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

Pascal
property XML: TStrings;
C++
__property TStrings XML;

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.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!