TANDBERG MPS API
User Guide
oXACLI is using indent spaces to present the data structure
oXACLI hides instance number (item number in XML) of an element if there only exist one instance of a given element
oA status top level element starts with “*s”
Example 2.5 shows XML formatting and XACLI formatting for the same status element, IP.
Example 2.5
XML:
<Status>
<IP item="1">
<Address item="1">10.47.8.20</Address> <SubnetMask item="1">255.255.248.0</SubnetMask> <Gateway item="1">10.47.8.1</Gateway>
</IP>
</Status>
XACLI: *s IP:
Address: "10.47.8.20"
SubnetMask: "255.255.248.0"
Gateway: "10.47.8.1" *s/end
NOTE! To write a parser for the XACLI format, the parser must keep track of the levels by counting white spaces. The indent is increased by two whitespaces for each level.
22