Grandstream Networks GXP-2000 Example Idle Screen File, XML Explanation, xsdelement /xsdschema

Models: GXP-2000

1 8
Download 8 pages 61.01 Kb
Page 3
Image 3
<xsd:attribute name="valign"> <xsd:simpleType>

XML Based Customizable Screen

<xsd:restriction base="xsd:string"> <xsd:enumeration value="Left"/> <xsd:enumeration value="Center"/> <xsd:enumeration value="Right"/>

</xsd:restriction> </xsd:simpleType>

</xsd:attribute>

<xsd:attribute name="valign"> <xsd:simpleType>

<xsd:restriction base="xsd:string"> <xsd:enumeration value="Top"/> <xsd:enumeration value="Center"/> <xsd:enumeration value="Bottom"/>

</xsd:restriction> </xsd:simpleType>

</xsd:attribute>

</xsd:complexType> </xsd:element>

</xsd:sequence> </xsd:complexType>

</xsd:element> </xsd:sequence> </xsd:complexType>

</xsd:element> </xsd:schema>

4. Example Idle Screen File

<?xml version="1.0"?>

<!--This file creates identical result to GXP-2000 default behavior --> <Screen>

<IdleScreen> <ShowStatusLine>true</ShowStatusLine> <DisplayString font="f8">

<DisplayStr>$W, $M $d</DisplayStr> <X>0</X>

<Y>0</Y> </DisplayString>

<DisplayString font="f13h" halign="Center" a1reg="false"> <DisplayStr>$N</DisplayStr>

<X>65</X>

<Y>12</Y> </DisplayString>

<DisplayString font="f13b" halign="Center" a1reg="true"> <DisplayStr>$N</DisplayStr>

<X>65</X>

<Y>12</Y> </DisplayString>

<DisplayString font="f13h" halign="Center" a1reg="false"> <DisplayStr>$X</DisplayStr>

<X>65</X>

<Y>26</Y> </DisplayString>

<DisplayString font="f13b" halign="Center" a1reg="true"> <DisplayStr>$X</DisplayStr>

<X>65</X>

<Y>26</Y> </DisplayString>

<DisplayString halign="Center" valign="Bottom"> <DisplayStr>$I</DisplayStr>
<X>65</X>

<Y>48</Y> </DisplayString>

</IdleScreen> </Screen>

5. XML Explanation

www.grandstream.com

Page 3
Image 3
Grandstream Networks GXP-2000 Example Idle Screen File, XML Explanation, XML Based Customizable Screen, ?xml version=1.0?