forked from ggbt/SyncUtil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
form-controls.xsd
158 lines (157 loc) · 7.5 KB
/
form-controls.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
targetNamespace="http://www.oxygenxml.com/ns/samples/form-controls"
xmlns="http://www.oxygenxml.com/ns/samples/form-controls">
<xs:element name="formControls" type="sectionBaseCT"> </xs:element>
<xs:element name="title" type="xs:string"/>
<xs:element name="p">
<xs:complexType mixed="true">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="styling"/>
</xs:sequence>
<xs:attribute name="editMode" type="xs:boolean"/>
</xs:complexType>
</xs:element>
<xs:element name="pre" type="xs:string"/>
<xs:element name="section" type="sectionCT"> </xs:element>
<xs:complexType name="sectionBaseCT">
<xs:sequence>
<xs:element ref="title"/>
<xs:element ref="abstract"/>
<xs:group maxOccurs="unbounded" minOccurs="0" ref="common"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sectionCT">
<xs:sequence>
<xs:element ref="title" maxOccurs="1"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:group maxOccurs="unbounded" minOccurs="0" ref="common"/>
<xs:element ref="p"/>
<xs:element ref="pre"/>
<xs:element name="text" minOccurs="0" maxOccurs="1"/>
<xs:element name="textWithCC" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="value1"/>
<xs:enumeration value="value2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="checkBox" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="attribute">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="on"/>
<xs:enumeration value="off"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="checkBox2" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="attribute">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="true"/>
<xs:enumeration value="false"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="multipleCheckBox" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="attribute" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="multipleCheckBox2" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="attribute" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="comboBox" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="attribute"/>
</xs:complexType>
</xs:element>
<xs:element name="comboBoxWithSchemaValues" minOccurs="0" maxOccurs="1">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="value1"/>
<xs:enumeration value="value2"/>
<xs:enumeration value="value3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="comboBoxWithRemove" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="attribute">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="value1"/>
<xs:enumeration value="value2"/>
<xs:enumeration value="value3"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="urlChooser" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:attribute name="file"/>
</xs:complexType>
</xs:element>
<xs:element name="popupWithSingleSelection" minOccurs="0" maxOccurs="1"/>
<xs:element name="popupWithMultipleSelection" minOccurs="0" maxOccurs="1"/>
<xs:element minOccurs="0" name="datePicker">
<xs:complexType>
<xs:attribute name="attribute" type="xs:date"/>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="dateTimePicker">
<xs:complexType>
<xs:attribute name="attribute" type="xs:dateTime"/>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="datePickerCustom">
<xs:complexType>
<xs:attribute name="attribute" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="button" minOccurs="0" maxOccurs="1"/>
<xs:element name="buttongroup" minOccurs="0" maxOccurs="1"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="textArea">
<xs:complexType mixed="true">
<xs:attribute name="language">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="CSS"/>
<xs:enumeration value="XML"/>
<xs:enumeration value="JSON"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:group name="common">
<xs:choice>
<xs:element ref="section" minOccurs="0"/>
</xs:choice>
</xs:group>
<xs:element name="abstract" type="abstractCT"/>
<xs:complexType name="abstractCT">
<xs:choice maxOccurs="unbounded">
<xs:element ref="p"/>
<xs:element ref="pre"/>
</xs:choice>
</xs:complexType>
<xs:element name="i" substitutionGroup="styling"/>
<xs:element name="b" substitutionGroup="styling"/>
<xs:element name="u" substitutionGroup="styling"/>
<xs:element abstract="true" name="styling"/>
</xs:schema>