At the moment every time user save work item details it is added to file as new item.
It is reasonable to change it. New way of saving items will be to check if item with id and title specified by user already exists in file.
If not just add it.
If yes, update element adding new < Comment > tag.
Recommended is to add also a time stamp to each comment, so it could be possible to locate each one in time (when user is working on a specified part of implementation).
In short, new structure of file should look like this:
< WorkItem>
< ID>xxx< /ID >
< Title>yyy< /Title >
< Comment time="2012-12-21T21:58:04.7981026+01:00">zzz< /Comment >
< Time>2012-12-21T11:58:04.7981026+01:00< /Time >
< /WorkItem >
At the moment every time user save work item details it is added to file as new item. It is reasonable to change it. New way of saving items will be to check if item with id and title specified by user already exists in file. If not just add it. If yes, update element adding new < Comment > tag. Recommended is to add also a time stamp to each comment, so it could be possible to locate each one in time (when user is working on a specified part of implementation).
In short, new structure of file should look like this: < WorkItem> < ID>xxx< /ID > < Title>yyy< /Title > < Comment time="2012-12-21T21:58:04.7981026+01:00">zzz< /Comment > < Time>2012-12-21T11:58:04.7981026+01:00< /Time > < /WorkItem >