2.2.7.3 Atomic
The Atomic element specifies the SyncML command to request that subordinate commands be executed as a set or not at all. The element has the following syntax.
-
<Atomic>(CmdID, Meta?, (Add | Delete | Atomic | Replace | Get | Exec)+)</Atomic>
Parent Elements: SyncBody (section 2.2.4.3)
Restrictions: The CmdID (section 2.2.3.2) element type is required and specifies the unique identifier for the command in the SyncML message.
The Meta (section 2.2.5.3) element is optional. When Meta is present, it specifies meta-information to be used for the command. The scope of the meta-information is limited to the command.
One or more sets of subordinate commands to be executed are specified as a series of one or more of the following commands: Add (section 2.2.7.1), Delete (section 2.2.7.4), Atomic (section 2.2.7.3), Replace (section 2.2.7.7), Get (section 2.2.7.6), and Exec (section 2.2.7.5). Note that a particular command can be specified multiple times to achieve execution of contained commands. For example.
<Atomic>(CmdID, Meta,(Add,Get),(Delete,Replace),(Add,Exec))</Atomic>
Content Model: (CmdID, Meta?, (Add| Delete | Atomic | Replace | Get | Exec)+)
Attributes: None.