TANDBERG Gatekeeper/Border Controller API User Guide
D14172.01
page 32 of 84
2.5
XML Output - xgetxml
As an alternative to the standard XACLI output format, XML format is supported through the root
command
xgetxml
.
xgetxml
takes an XPath expression as parameter and the elements (or complete
document) matching the expression will be returned.
Example 2.19
xgetxml status/ntp
<Status>
<NTP item="1" status="Active">
<Address item="1">10.0.0.2</Address>
<Port item="1">123</Port>
<LastUpdate item="1">2008-01-01 12:00:00</LastUpdate>
<LastCorrection item="1">1</LastCorrection>
</NTP>
</Status>
OK