Notification should be accomplished by simply monitoring the document for changes. This can be done by either polling the file every so often, or using a library like FAM (http://oss.sgi.com/projects/fam/).