FileName (xmldoc)
property FileName:string;
Lecture écriture
Cette propriété retourne le nom du fichier qui a été utilisé pour chargé le document avec la fonction LoadFromFile.
Exemple:
procedure foo(doc:TxmlDocument);
begin
if doc.HashValue<>SavedHashValue then
begin
// document has been changed
doc.SaveToFile(doc.FileName);
end;
end;
Voir aussi: