IP Phone Administrator Guide
How to Create an XML Application
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: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>
G-22
DFW Phone 972-992-4600
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.
<xs:minLength value="1" />
<xs:maxLength value="1000" />
41-001129-00 Rev 09, Release 1.4.1