Aastra Telecom C53I User Guide

Page of 602
How to Create an XML Application
41-001160-00, Rev 01  Release 2.0
G-43
Creating an XML Application
Appendix G
LockIn Attribute 
(configurable via XML objects only)
The XML “LockIn” attribute allows you to specify whether or not the 
information on the LCD screen stays displayed when other events occur (such as 
pressing buttons on the keypad). 
You must use the “LockIn” aattribute in the ROOT. The settings for the LockIn 
attribute are “Yes” for enabled, and “No” for disabled.
XML Example:
The following example illustrates the use of the “LockIn” attribute with the 
AastraIPPhoneFormattedTextScreen object. The result would cause the LCD 
screen to lock in the display of the XML information even if other events occur 
(except for an incoming call).
<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 LockIn= “yes” default="no">
    <xs:simpleType>
<xs:restriction base="xs:string>
<xs:pattern value="yes|no"/>
</xs:restriction>
    </xs:simpleType>
 </xs:attribute>
Note: 
This attribute is ignored during incoming calls. If this attribute is 
set, and the phone receives an incoming call, the LCD screen exits the 
XML information and displays the information about the incoming call.