Phonebook xml snytax, Header, Phonebook xml structure – Grandstream XML Application Guide User Manual

Page 11

Advertising
background image

FIRMWARE VERSION 1.0.5.15 XML BASED DOWNLOADABLE PHONEBOOK GUIDE Page 11 of 15

PHONEBOOK XML SNYTAX

HEADER

In the first line of the XML document, the following header can be set as XML declaration. It defines the

XML version and encoding. On the GXP21xx/GXP14xx/GXP116x, UTF-8 is used as encoding method for

correct display.

PHONEBOOK XML STRUCTURE

The XML phone book example for GXP21xx/GXP14xx/GXP116x can be found in the last section of this

document. The main structure is represented as below.

<?xml version="1.0" encoding="UTF-8"?>

<AddressBook>

<Contact>

<LastName>

Enter last name here

</LastName>

<FirstName>

Enter first name here

</FirstName>

<Phone>

<phonenumber>

Enter phone number here

</phonenumber>

<accountindex>

Enter account index here

</accountindex>

</Phone>

<Groups>

<groupid>

Enter group ID here

</groupid>

</Groups>

</Contact>

<Contact>

<!-- Enter another contact information here, same format as above -->

</Contact>

</AddressBook>

Advertising