Grandstream Networks, Inc.
XML Application Guide
Page 18 of 24
Last Updated: 3/2009
Grandstream GS_XML Object Descriptions
Name Location
Type Values
Comments
GS_XML_Application Root
Mandatory
-
Root
element
Display
Root Body
Optional
-
Screen display
SoftKeys Root
Body
Optional -
Programmable
Softkey
Events Root
Body
Optional
- Determines
what
action to be done
when a local event
is detected
Display Object Description
Name Location
Type Values
Comments
Display Root
Body
Optional -
Screen
display
Screen Display
Body
Display
Choice -
Unselectable
display
*Menu
Display Body
Display Choice
-
Selectable display
*
indicates future implementation.
Screen Object Descriptions
Name Location
Type Values
Comments
Screen
Display Body
Display Choice -
Unselectable
display
showLineLabels
Screen Attribute
Optional
Boolean
Enable or disable
line labels display to
extend xml
application display
area
DisplayString
Screen Body
Optional
-
Display a string on
the screen
DisplayBitmap
Screen Body
Optional
-
Display a bitmap on
the screen
DisplayBitmap Object XML Description
Name Location
Type Values
Comments
DisplayBitmap
Screen Body
Optional
-
Display a bitmap on
the screen
X DisplayBitmap
Body
Mandatory Integer Horizontal
starting
position depending
on halign
Y DisplayBitmap
Body
Mandatory Integer Vertical
starting
position depending
on valign
Bitmap DisplayBitmap
Body
Mandatory
Strings
Content of the
bitmap
DisplayString Object XML Description
Name Location
Type Values
Comments
DisplayString
Screen Body
Optional
-
Descriptions of a
line string
Font
DisplayString
Attribute
Optional
Enum string
The font for a line
Halign
DisplayString
Attribute
Optional Left,
Center,
Right
Horizontal Axis
Alignment