Download Print this page

Grandstream Networks XML Application Manual page 7

Part a – application explanations part b – xml syntax, technical detail, file examples

Advertisement

Application One: XML Custom Screen Details
XML C
S
USTOM
CREEN
XSD
FILE
<?xml
version="1.0"?>
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element
name="Screen">
<xs:complexType>
<xs:sequence>
<xs:element
name="IdleScreen" minOccurs="1"
<xs:complexType>
<xs:sequence>
<!--
The ShowStatusLine element is now optional and default to false. Ignored by GXP2020
<xs:element
name="ShowStatusLine" type="xs:boolean" minOccurs="0" maxOccurs="1"
default="false"/>
<xs:element
name="DisplayBitmap" type="BitmapType"
<xs:element
name="DisplayString" type="StringType"
<!--
The DisplaySoftKey element apply only to GXP-2020/2010 and is ignored by GXP-2000
<xs:element
name="DisplaySoftKey" type="SoftKeyType" minOccurs="0" maxOccurs="12"
<!--
The UseDefaultSoftKeys element apply only to GXP-2020/2010 and is ignored by GXP-2000
If it is missing by default it is false, when it is true, any DisplaySoftKey elements
would be ignored and the system default softkeys would apply
<xs:element
name="UseDefaultSoftKeys" type="xs:boolean" minOccurs="0" maxOccurs="1"
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType
name="BitmapType">
<xs:sequence>
<xs:element
name="Bitmap" type="xs:base64Binary" minOccurs="1"
<xs:element
name="X" type="xs:integer" minOccurs="1" maxOccurs="1"
<xs:element
name="Y" type="xs:integer" minOccurs="1" maxOccurs="1"
<!--
The new element displayCondition deprecates the old attribute alreg.
If displayCondition is found alreg will be ignored.
The old attribute al1reg is kept for backward compatibility
<xs:element
name="displayCondition" type="IdleScreenConditionType" minOccurs="0" maxOccurs="1"
</xs:sequence>
<!--
This attribute is deprecated, please use the displayCondition element instead
<xs:attribute
name="a1reg"
</xs:complexType>
<xs:complexType
name="StringType">
<xs:sequence>
<xs:element
name="DisplayStr" type="xs:string" minOccurs="1" maxOccurs="1"
<xs:element
name="X" type="xs:integer" minOccurs="1" maxOccurs="1"
<xs:element
name="Y" type="xs:integer" minOccurs="1" maxOccurs="1"
<!--
The new element displayCondition deprecates the old attribute alreg.
If displayCondition is found alreg will be ignored.
The old attribute al1reg is kept for backward compatibility
<xs:element
name="displayCondition" type="IdleScreenConditionType" minOccurs="0" maxOccurs="1"
</xs:sequence>
<!--
This attribute is deprecated, please use the displayCondition element instead
<xs:attribute
name="a1reg"
<xs:attribute
name="font"
<xs:simpleType>
<xs:restriction
base="xs:string">
<xs:enumeration
Grandstream Networks, Inc.
S
YNTAX
type="xs:boolean"/>
type="xs:boolean"/>
default="f8">
value="f8"/>
XML Application Guide
maxOccurs="1">
minOccurs="0" maxOccurs="unbounded"
minOccurs="0" maxOccurs="unbounded"
maxOccurs="1"/>
-->
-->
nillable="true"/>
nillable="true"/>
nillable="true"/>
-->
default="false"/>
default="0"/>
default="0"/>
nillable="true"/>
-->
/>
default="0"/>
default="0"/>
nillable="true"/>
-->
Page 7 of 24
Last Updated: 3/2009
-->
-->

Advertisement

loading