Creating an XML Application
41-001160-01, Rev 00, Release 2.3
G-85
HTTP Language Header
You can use an HTTP language header with the XML screen objects on the IP
phones. By including the language information in the HTTP header, the HTTP
GET includes the phone model, the firmware and the MAC address of the phone.
When the user selects a language on the phone, the selected language is sent to the
XML application and the application displays to the screen in that language.
XML Schema File
After creating an XML application for your IP phone, you can validate the XML
objects using the Schema file provided in this section. This helps you find any
parsing errors that may exist, and verify that your XML objects conform to the
Aastra API.
XML Schema
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="AastraIPPhoneTextScreen">
<xs:complexType>
<xs:sequence>
<xs:element name="Title" type="xs:string" />
<xs:element name="Text">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="1000" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
Note:
This HTTP language header feature only applies to objects that
display to the screen.
Note:
Aastra IP phonees do not contain validating XML parsers. There
are many free XML validators available on the Web
(i.e.,
http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx
) that
can perform validation using the schema file.
Содержание 5i Series
Страница 4: ......
Страница 26: ......
Страница 30: ......
Страница 70: ......
Страница 179: ...Administrator Level Options 41 001160 01 Rev 00 Releaes 2 3 3 91 Administrator Options...
Страница 180: ......
Страница 292: ...Configuration Server Protocol 4 112 41 001160 01 Rev 00 Releaes 2 3 IP Phone Administrator Guide...
Страница 644: ...Operational Features 5 352 41 001160 01 Rev 00 Release 2 3 IP Phone Administrator Guide...
Страница 702: ...Encrypted Files on the IP Phone 7 8 41 001160 01 Rev 00 Release 2 3 IP Phone Administrator Guide...
Страница 712: ......
Страница 976: ......
Страница 980: ......
Страница 1014: ...Sample Configuration Files D 34 41 001160 01 Rev 00 Release 2 3 IP Phone Administrator Guide...
Страница 1016: ...Sample Configuration Files D 36 41 001160 01 Rev 00 Release 2 3 IP Phone Administrator Guide...
Страница 1022: ......
Страница 1026: ......
Страница 1030: ......
Страница 1133: ......