Reference IDocument
Declared in Codebot.Text.Xml.pas on line 162
IDocument is the root of an xml tree
IDocument = interface(INode)
public
{ Format the document with indentation }
procedure Beautify;
{ Create a new attribute node owned by the document }
function CreateAttribute(const Name: string): INode;
{ Create a new element node owned by the document }
function CreateElement(const Name: string): INode;
{ Load the document from a file }
procedure Load(const FileName: string);
{ Save the document to a file }
procedure Save(const FileName: string);
{ The root element of the document }
property Root: INode read GetRoot write SetRoot;
end;