Aastra Telecom 53I User Manual

Page of 818
How to Create an XML Application
41-001160-00, Release 2.1, Rev 04
G-59
Creating an XML Application
Appendix G
Timeout Attribute 
(configurable via XML objects only)
The XML “Timeout” attribute allows you to specify a timeout value for the LCD 
screen display. You must use the “Timeout” aattribute in the ROOT. When the 
phone receives an XML object with this attribute, it overrides the default 45 
second timeout specified for custom applications. Setting the “Timeout” attribute 
to zero (0) disables this feature.
XML Example:
The following example illustrates the use of the “Timeout” attribute with the 
AastraIPPhoneFormattedTextScreen object. The result would cause the LCD 
screen to timeout in 30 seconds.
<xs:element name="AastraIPPhoneFormattedTextScreen">
       <xs:attribute name="Beep" default="no">
   
 <xs:simpleType>
<xs:restriction base="xs:string>
<xs:pattern value="yes|no"/>
</xs:restriction>
  
 </xs:simpleType>
 </xs:attribute>
 <xs:attribute name="DestroyOnExit" default="no">
    <xs:simpleType>
<xs:restriction base="xs:string>
<xs:pattern value="yes|no"/>
</xs:restriction>
  
</xs:simpleType>
 </xs:attribute>
<xs:AastraIPPhoneFormattedTextScreen Timeout= “30" default = “45”>
    <xs:simpleType>
<xs:restriction base="xs:number/>
    </xs:simpleType>
 </xs:attribute>