<xsd:attribute ref="type" use="required"/> </xsd:complexType>

</xsd:element>

<xsd:simpleType name="AccountIndex"> <xsd:restriction base="xsd:integer">

<xsd:minInclusive value="0"/> <xsd:maxInclusive value="2"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="RingIndex"> <xsd:restriction base="xsd:integer">

<xsd:minInclusive value="0"/> <xsd:maxInclusive value="99"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:simpleType name="GroupIndex"> <xsd:restriction base="xsd:integer">

<xsd:minInclusive value="0"/> <xsd:maxInclusive value="99"/>

</xsd:restriction>

</xsd:simpleType>

<xsd:attribute name="type"> <xsd:simpleType> <xsd:restriction base="xsd:string">

<xsd:enumeration value="Work"/> <xsd:enumeration value="Home"/> <xsd:enumeration value="Mobile"/> <xsd:enumeration value="Fax"/> </xsd:restriction> </xsd:simpleType>

</xsd:attribute>

</xsd:schema>

EXAMPLE PHONEBOOK FILE

Phonebook.xml

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

<version>1</version>

<pbgroup>

<id>1</id>

<name>Default</name>

<photos>Default</photos>

<ringtones></ringtones>

<RingtoneIndex>0</RingtoneIndex>

</pbgroup>

<pbgroup>

Grandstream Networks, Inc.

GXV3175 XML Based Downloadable Phonebook

Page 9 of 12

 

 

Last Updated: 12/2010

Page 9
Image 9
Grandstream Networks XML, GXV3175 manual Example Phonebook File