How to Create an XML Application
G-22
41-001129-00 Rev 09, Release 1.4.1
IP Phone Administrator Guide
Appendix G
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>
</xs:complexType>
</xs:element>
<xs:element name="AastraIPPhoneTextMenu">
<xs:complexType>
<xs:sequence>
<xs:element name="Title" type="xs:string" />
<xs:element name="MenuItem" minOccurs="1" maxOccurs="15">
<xs:complexType>
<xs:sequence>
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.
Summary of Contents for SIP 480i
Page 1: ...Administrator Guide Release 1 4 1 SIP IP PHONE 480i 480i CT 9112i 9133i 41 001129 00 Rev 09...
Page 4: ......
Page 16: ......
Page 34: ......
Page 264: ......
Page 274: ......
Page 290: ......
Page 408: ......
Page 412: ......
Page 462: ......
Page 466: ......
Page 470: ......
Page 502: ......
Page 503: ......