Xml application format, Header, Special characters – Grandstream GXP21xx XML Application Guide User Manual
Page 13: Gxp21xx screen xml structure

FIRMWARE VERSION 1.0.4.23 GXP21xx XML APPLICATION GUIDE Page 13 of 36
XML APPLICATION FORMAT
HEADER
In the first line of the XML document, the following header can be set as XML declaration. It defines the
XML version and encoding. On GXP21xx, UTF-8 is used as encoding method for correct display.
SPECIAL CHARACTERS
As followed by the standard XML recommendation, some characters need to be escaped. The following
table lists the characters with their escape sequence.
Characters
Name
Escape Sequence
&
Ampersand
&
“
Quote
"
‘
Apostrophe
&apos
<
Left Angle Bracket
<
>
Right Angle Bracket
>
GXP21xx SCREEN XML STRUCTURE
The XML application template could be represented like below.
template.xml included in the package for more comments.