The messages exchanged during synchronization consist of a set of Elements. The format of these Elements is probably one of the more involved aspects of SyncML. Careful reading of the Representation Protocol specification will show that each Command Element has a clearly defined format and explicit list of allowed responses.
A more detailed look into the Representation Protocol reveals that it consists of several different types of Elements:
The Message Container Elements
The Protocol Management Elements
The Command Elements
The Common Use Elements
The Data Description Elements
Proper combination of each of these Elements will create a well-formed SyncML Message. Note that not all Elements listed in the Representation ...