Sync with 5.4.0
[deliverable/titan.core.git] / regression_test / XML / HN15589 / xsd / XTDL.xsd
CommitLineData
970ed795
EL
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!--
3abe9331 3 Copyright (c) 2000-2015 Ericsson Telecom AB
970ed795
EL
4
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
9 -->
10<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
11 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
12 xmlns="http://ttcn.ericsson.se/protocolModules/xtdp/xtdl"
13 targetNamespace="http://ttcn.ericsson.se/protocolModules/xtdp/xtdl"
14 attributeFormDefault="unqualified"
15 elementFormDefault="qualified"
16>
17
18 <xsd:group name="widgets">
19 <xsd:choice>
20 <xsd:element name="window" type="window" />
21 <xsd:element name="tabbox" type="tabbox" />
22 </xsd:choice>
23 </xsd:group>
24
25 <xsd:element name="windowelem" type="window" />
26
27 <xsd:group name="embeddedwidget" >
28 <!-- not much of a --><xsd:choice>
29 <xsd:element name="tabbox" type="tabbox" />
30 </xsd:choice>
31 </xsd:group>
32
33 <xsd:group name="embeddedwidgets">
34 <xsd:sequence>
35 <xsd:group ref="embeddedwidget" minOccurs="0" maxOccurs="unbounded" />
36 </xsd:sequence>
37 </xsd:group>
38
39 <xsd:complexType name="window">
40 <xsd:sequence>
41 <xsd:element name="image" type="image" minOccurs="0" maxOccurs="unbounded" />
42 <xsd:group ref="embeddedwidgets"/>
43 </xsd:sequence>
44 <xsd:attribute name="id" type="xsd:string" />
45 <xsd:attribute name="title" type="xsd:string" />
46 <xsd:attribute name="width" type="xsd:decimal" />
47 <xsd:attribute name="height" type="xsd:decimal" />
48 <xsd:attribute name="orientation" type="orientation" fixed="vertical" />
49 </xsd:complexType>
50
51 <xsd:complexType name="tabbox">
52 <xsd:sequence>
53 <xsd:element name="tabs" type="tabs" />
54 <xsd:element name="tabpanels" type="tabpanels" />
55 </xsd:sequence>
56 <xsd:attribute name="disabled" type="xsd:boolean" />
57 <xsd:attribute name="flex" type="xsd:decimal" />
58 <xsd:attribute name="id" type="xsd:string" />
59 <xsd:attribute name="layout" type="tablayout" />
60 </xsd:complexType>
61
62 <xsd:complexType name="tabs">
63 <xsd:sequence>
64 <xsd:element name="tab" type="tab" minOccurs="0" maxOccurs="unbounded" />
65 </xsd:sequence>
66 </xsd:complexType>
67
68 <xsd:complexType name="tab">
69 <xsd:attribute name="label" type="xsd:string" use="required" />
70 <xsd:attribute name="id" type="xsd:string" />
71 </xsd:complexType>
72
73 <xsd:complexType name="tabpanels">
74 <xsd:sequence>
75 <xsd:element name="tabpanel" type="tabpanel" minOccurs="0" maxOccurs="unbounded" />
76 </xsd:sequence>
77 </xsd:complexType>
78
79 <xsd:complexType name="tabpanel">
80 <xsd:group ref="embeddedwidgets" />
81 <xsd:attribute name="id" type="xsd:string" />
82 <xsd:attribute name="orientation" type="orientation" />
83 <xsd:attribute name="maxheight" type="xsd:decimal" />
84 </xsd:complexType>
85
86 <xsd:simpleType name="tablayout">
87 <xsd:restriction base="xsd:string">
88 <xsd:enumeration value="WRAP" />
89 <xsd:enumeration value="SCROLL" />
90 <xsd:enumeration value="CARD" />
91 <xsd:enumeration value="LISTCARD" />
92 </xsd:restriction>
93 </xsd:simpleType>
94
95 <xsd:complexType name="image">
96 <xsd:attribute name="imagedata" type="xsd:string" />
97 <xsd:attribute name="imageurl" type="xsd:string" />
98 <xsd:attribute name="id" type="xsd:string" use="required" />
99 </xsd:complexType>
100
101
102
103 <xsd:simpleType name="orientation">
104 <xsd:restriction base="xsd:string">
105 <xsd:enumeration value="vertical" />
106 <xsd:enumeration value="horizontal" />
107 </xsd:restriction>
108 </xsd:simpleType>
109
110
111</xsd:schema>
This page took 0.030106 seconds and 5 git commands to generate.