Grandstream Networks, Inc.
GXV300x User Manual
Page 44 of 54
Firmware 1.2.3.7
Updated: 12/2010
XML Syntax
XSD file
<?
xml
version
=
"
1.0
"
?>
<
xsd:schema
xmlns:xsd
=
"
http://www.w3.org/2001/XMLSchema
"
>
<
xsd:element
name
=
"
AddressBook
"
>
<
xsd:complexType
>
<
xsd:sequence
>
<
xsd:element
name
=
"
Contact
"
minOccurs
=
"
1
"
maxOccurs
=
"
unbounded
"
>
<
xsd:complexType
>
<
xsd:sequence
>
<
xsd:element
name
=
"
LastName
"
type
=
"
xsd:string
"
minOccurs
=
"
1
"
/>
<
xsd:element
name
=
"
FirstName
"
minOccurs
=
"
0
"
type
=
"
xsd:string
"
nillable
=
"
true
"
/>
<
xsd:element
name
=
"
Address
"
minOccurs
=
"
0
"
nillable
=
"
true
"
>
<
xsd:complexType
>
<
xsd:sequence
>
<
xsd:element
name
=
"
address1
"
type
=
"
xsd:string
"
minOccurs
=
"
1
"
maxOccurs
=
"
1
"
/>
<
xsd:element
name
=
"
address2
"
type
=
"
xsd:string
"
minOccurs
=
"
0
"
maxOccurs
=
"
1
"
/>
<
xsd:element
name
=
"
city
"
type
=
"
xsd:string
"
minOccurs
=
"
1
"
maxOccurs
=
"
1
"
/>
<
xsd:element
name
=
"
state
"
type
=
"
xsd:string
"
minOccurs
=
"
1
"
maxOccurs
=
"
1
"
/>
<
xsd:element
name
=
"
zipcode
"
type
=
"
xsd:string
"
minOccurs
=
"
1
"
maxOccurs
=
"
1
"
/>
<
xsd:element
name
=
"
country
"
type
=
"
xsd:string
"
minOccurs
=
"
1
"
maxOccurs
=
"
1
"
/>
</
xsd:sequence
>
</
xsd:complexType
>
</
xsd:element
>
<
xsd:element
name
=
"
Phone
"
>
<
xsd:complexType
>
<
xsd:sequence
>
<
xsd:element
name
=
"
phonenumber
"
type
=
"
xsd:string
"
minOccurs
=
"
1
"
maxOccurs
=
"
1
"
/>
<
xsd:element
name
=
"
accountindex
"
type
=
"
xsd:integer
"
minOccurs
=
"
1
"
maxOccurs
=
"
1
"
default
=
"
1
"
/>
</
xsd:sequence
>
</
xsd:complexType
>
</
xsd:element
>
<
xsd:element
name
=
"
"
type
=
"
xsd:string
"
minOccurs
=
"
0
"
nillable
=
"
true
"
/>
<
xsd:element
name
=
"
Department
"
type
=
"
xsd:string
"
minOccurs
=
"
0
"
nillable
=
"
true
"
/>
<
xsd:element
name
=
"
Company
"
type
=
"
xsd:string
"
minOccurs
=
"
0
"
nillable
=
"
true
"
/>
<
xsd:element
name
=
"
Icon
"
type
=
"
xsd:base64Binary
"
minOccurs
=
"
0
"
nillable
=
"
true
"
/>
</
xsd:sequence
>
</
xsd:complexType
>
</
xsd:element
>
</
xsd:sequence
>
</
xsd:complexType
>
</
xsd:element
>
</
xsd:schema
>
Example Phonebook File
<?
xml
version
=
"
1.0
"
?>
<
AddressBook
>
<
Contact
>
<
LastName
>
Doe
</
LastName
>
<
FirstName
>
John
</
FirstName
>
<
Phone
>
<
phonenumber
>
8000
</
phonenumber
>
<
accountindex
>
0
</
accountindex
>
</
Phone
>
</
Contact
>
<
Contact
>
<
LastName
>
Smith
</
LastName
>
<
FirstName
>
Alan
</
FirstName
>
<
Phone
>
<
phonenumber
>
8001
</
phonenumber
>
<
accountindex
>
0
</
accountindex
>
</
Phone
>
</
Contact
>
<
Contact
>
<
LastName
>
Lee
</
LastName
>
<
FirstName
>
Lily
</
FirstName
>