28
5.1.2. Name Space of XML Document
Name Space is declared in ppxml node.
XML document uses each XML schema of the phone corresponding to itself.
The formula is following:
<ppxml xmlns="http://panasonic/sip_phone"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://panasonic/sip_phone.xsd sip_phone.xsd">
User has to change the description of A) and C) corresponding to target xml data.
5.1.3. Character reference
5.1.3.1. Predefined Entities in XML
The XML specification defines five "predefined entities" representing special characters, and requires that all
XML processors honor them.
The table below lists the five XML predefined entities.
The "Name" column mentions the entity's name.
The "Character" column shows the character, if it is renderable. In order to render the character, the format
&name;
is used; for example,
&
renders as
&
.
The "Description" column cites the character via its canonical UCS/Unicode name, in English.
Character
Name
Description
"
"
Quotation mark
&
&
Ampersand
'
'
Apostrophe
<
<
Less-than sign
>
>
Greater-than sign
5.1.3.2. Numeric Character Reference
A numeric character reference refers to a character by its Unicode (UTF-8) code point, and uses the
following format
&#nnnn;
&#xhhhh;
nnnn is the code point in decimal form, and hhhh is the code point in hexadecimal form. The x must be
lowercase in XML documents. The nnnn or hhhh may be any number of digits and may include leading zeros.
The hhhh may mix uppercase and lowercase.
A) Declare "http://panasonic/sip_phone.xsd" as Name Space.
B) "xsi" description obeys "http://www.w3.org/2001/XMLSchema-instance".
C) "http://panasonic/sip_phone.xsd" name space is defined in "sip_phone.xsd" file.
Содержание TGP600
Страница 68: ...64 End of doc ...