Creating an XML Application

How to Create an XML Application

Note: For a list of icons that are internal to the IP phone when specifying the “Icon:<uri name>”, see the section “IP Phone Internal Icon Images” on page G-56.

You can use one or both ways to load images within the same XML script. The softkey icons display at the edge of the screen. Any XML object that supports softkeys can support the optional <IconList> tag.

XML Example:

The following example illustrates the use of the <IconList> attribute to create images for softkey prompts.

<AastraIPPhoneTextScreen> <Title> Directory List </Title>

<Text> Welcome to the Directory. </Text>

<SoftKey index = "4" icon="2">

<Label> Listing </Label>

<URI> http://server/page.php </URI> </SoftKey>

<SoftKey index = "3" icon="1">

<Label> Exit </Label>

<URI> http://server/otherpage.php </URI> </SoftKey>

<IconList>

<Icon index = "1"> FF00F3 </Icon>

<Icon index = "2"> Icon:ArrowRight </Icon> </IconList>

</AastraIPPhoneTextScreen>

Appendix G

41-001160-00, Release 2.1, Rev 04

G-55

Page 793
Image 793
Aastra Telecom 55I, 57I CT, 53I manual SoftKey index = 4 icon=2