Download  Print this page

Name Space Of Xml Document; Character Reference; Predefined Entities In Xml; Numeric Character Reference - Panasonic TGP600 Developer's Manual

Hdv100/130/230/330/430.
Hide thumbs

Advertisement

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, &amp; renders as &.
The "Description" column cites the character via its canonical UCS/Unicode name, in English.
Name
Character
&quot;
"
&amp;
&
&apos;
'
&lt;
<
&gt;
>

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.
Description
Quotation mark
Ampersand
Apostrophe
Less-than sign
Greater-than sign
28

Advertisement

Table of Contents

   Also See for Panasonic TGP600

Comments to this Manuals

Symbols: 0
Latest comments: