beautypg.com

TANDBERG MPS API Interface D13639 User Manual

Page 24

background image

TANDBERG MPS API

User Guide

22

o

XACLI is using indent spaces to present the data structure

o

XACLI hides instance number (item number in XML) of an element if there only exist

one instance of a given element

o

A 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:


10.47.8.20

255.255.248.0
10.47.8.1



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.