TANDBERG D14172.01 manual XML Output - xgetxml, Example, xgetxml status/ntp Status, NTP Status OK

Models: D14172.01

1 84
Download 84 pages 8.98 Kb
Page 32
Image 32
2.5XML Output - xgetxml

TANDBERG Gatekeeper/Border Controller API User Guide

2.5XML 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

D14172.01

page 32 of 84

Page 32
Image 32
TANDBERG D14172.01 manual XML Output - xgetxml, Example, xgetxml status/ntp Status, NTP Status OK