Grandstream Networks GXV3140 IP Phone User Manual


 
Grandstream Networks, Inc. XML Based GUI Configuration Guide Page 20 of 26
www.grandstream.com Last Updated: 03/2010
<xsd:element name="Screen">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="IdleScreen">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DesktopLayout" type="LayoutType" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="Desktop" minOccurs="1" maxOccurs="3"/>
<xsd:element ref="Function" minOccurs="0" maxOccurs="1"/>
<xsd:element ref="Panel" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="CallScreen" minOccurs="0" maxOccurs="1">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element
7.2.2.1 Element “DesktopLayout”
This element defines the whole layout of the screen; its value can only be small or large. If it is
“small”, it defines two desktops on the screen; if it is “large”, it defines three desktops on the screen. You
can put different things on different desktops and switch between them.
<xsd:simpleType name="LayoutType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="small"/>
<xsd:enumeration value="large"/>
</xsd:restriction>
</xsd:simpleType>
7.2.2.2 Element “Desktop”
This element defines the display items on one of the desktops, and they are displayed in the order
they appear in the XML and later objects may overwrite/corrupt previous object.
You can put two types of objects: the picture and the string. Actually, there is a third object: the
function, which will be described on the following chapter. It has an attribute “id”, its value presents which
desktop you want to configure.
<xsd:attribute name="id" type="DesktopIDTYpe" use="required"/>
<xsd:simpleType name="DesktopIDTYpe">
<xsd:restriction base="xsd:integer">
<xsd:minInclusive value="1"/>
<xsd:maxInclusive value="4"/>
</xsd:restriction>
</xsd:simpleType
>
7.2.2.2.1 Element “DisplayPicture”
The “DisplayPicture” element puts a picture at the special position and with the special style. It
contains the following sub-elements and attributes: