Creating an XML Application

How to Create an XML Application

<xs:sequence>

<xs:element name="Title" /> <xs:element name="Prompt" /> <xs:element name="URL" /> <xs:element name="Parameter" /> <xs:element name="Default" /> </xs:sequence>

<xs:attribute name="type"> <xs:simpleType> <xs:restriction base="xs:string">

<xs:pattern value="IPstringnumber" /> </xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="password" default="no"> <xs:simpleType>

<xs:restriction base="xs:string"> <xs:pattern value="yesno" />

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="destroyOnExit" default="no"> <xs:simpleType>

<xs:restriction base="xs:string"> <xs:pattern value="yesno" />

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:complexType>

</xs:element>

<xs:element name="AastraIPPhoneDirectory"> <xs:complexType>

<xs:sequence>

<xs:element name="Title" type="xs:string" />

<xs:element name="MenuItem" minOccurs="1" maxOccurs="15"> <xs:complexType>

<xs:sequence>

<xs:element name="Prompt" type="xs:string" /> <xs:element name="URI" type="xs:string" />

41-001160-00, Release 2.1, Rev 04

G-67

Appendix G

Page 805
Image 805
Aastra Telecom 55I, 57I CT, 53I manual Appendix G