I\'m new to delphi and now I have to read create an xml. my code is the following:
function foo.createXMLDocument(): TXMLDocument; var res: TXMLDocument;
In my similar implementation, I declare res as IXMLDocument instead of TXMLDocument.
var XMLDoc: IXMLDocument; . . XMLDoc := TXMLDocument.Create(nil); XMLDoc.Active := True; . . XMLDoc.SaveToFile(Filename); XMLDoc.Active := False;