Link to home
Start Free TrialLog in
Avatar of rwallacej
rwallacej

asked on

XML file with change control

Hi
I have an xml file used across a web app.
currently an administrator manually edits it in notepad
However it must now be editable by users.
I have created web pages to edit file e.g. add, edit, delete items in file susuccessfullyProblem I have is there is no change control.
E.g. user A deletes entry or edits entry. There is no way to know what old data was.
Is there easy way to manage this, is it a case of saving files with different timestamps ?
Thanks
ASKER CERTIFIED SOLUTION
Avatar of jonnidip
jonnidip
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hjgode
I would build a serializable object class around the xml file. That class could generate change history and other stuff for the xml file.
You could use FileSystemWatcher class
Avatar of rwallacej
rwallacej

ASKER

ended up moving to SQL
this was ok but did use SQL