Aastra Telecom 57I User Manual

Page of 818
How to Create an XML Application
G-26
41-001160-00, Release 2.1, Rev 04  
IP Phone Administrator Guide
Appendix G
XML Softkey for Special Characters
(User Input Screens for 55i, 57i, and 57i CT only)
In Release 2.1, the IP Phone can dynamically receive a Symbol List when it 
receives the AastraIPPhoneInputScreen XML object. You can have a single 
symbol specified for the softkey, or you can have a list of symbols. When there is 
only one symbol in the list, the symbol displays with no delay. When there is a list 
of symbols, you can keep pressing the symbol softkey to cycle through the list of 
symbols to select the one you want to use.
To display a list of customized symbols to the phone’s softkey, the server must 
include the list of characters in the URI field of the XML softkey script. The URI 
must be in the format: 
SymbolList=”<Symbol List content>”
The content of the Symbol List must be encapsulated by quotes. You can specify 
multiple symbols in one URI. For example, the SymbolList="@#” specifies the 
@ and # symbols
.
There are some special characters that needed to be encoded due to XML 
limitations. The following table specifies these characters.
The following is an example XML URI using the characters in the table above: 
SymbolList="@#&amp;&gt;&lt"
The Symbol List content for this URI is @, #, &, >, <.
Note: 
You can have multiple Symbol List softkeys with different lists of 
symbols. The maximum length of the data in a Symbol List is 230 
characters.
Symbol
XML Encoding
single quote (‘)
&apos;
double quote (“)
&quot;
greater-than sign (>)
&gt;
less-than sign (<)
&lt;
ampersand (&)
&amp;