The XML documents exchanged by CMS components via the XML Interface are called Payloads. The cm-payload
element is the root element of all request and response documents:
<!ELEMENT cm-payload (cm-header, (cm-response+ | cm-request+))> <!ATTLIST cm-payload payload-id CDATA #REQUIRED timestamp CDATA #REQUIRED cm.version CDATA #REQUIRED >
The attributes of cm-payload
elements have the following meanings:
payload-id
payload-id
is generated by an algorithm.timestamp
cm.version
In a request a client indicates which version of the XML Interface protocol it is using by specifying a value for cm.version
.
The Content Management Server supports – in addition to the current version of the protocol – all versions which were previously valid. If the client is using one of these versions, the server creates a response payload in this version. Otherwise, it responds with an error message which indicates the protocol incompatibility. The server creates this message in its current version of the XML Interface protocol.