The task on the drag source side may, from the beginning, be divided into the following stages:
- Declare the start of the drag operation.
- If needed, the operation may be performed according to the position to which the pointer moved during dragging.
- After drag operation terminates with a drop, perform the termination process.
If a user starts a drag operation, an event object is issued. The event object issued on the drag-source side is represented by an XML document fragment consisting of event:drag-source elements. When the issued event object is processed, the operation is performed in a xvcd:action element.
The series of operations from drag start to termination for the drag-source side need to be described within one xvcd:action element. If the series of operations are divided and described within multiple xvcd:action elements, each operation is assumed for other drag sources.
From now on, the section provides an explanation about the description of the operation performed at each stage on the drag-source side.