Described is a mechanism for issuing an event notification message, from a
first program to a second program, to indicate that an action occurred
within the first program, where the event notification message includes a
parameter that indicates that the action is one of a group of possible
actions. More specifically, in an application configured to edit
documents created with the eXtensible Markup Language XML, the occurrence
of an XML-related action causes the event notification message to be
issued. The XML-related action may be either an XML-related move action,
an XML-related insert action, or an XML-related delete action. In this
way, a single event notification message can be used to indicate the
occurrence of three different types of actions while editing an XML
document.