-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSchema-dernier-service.xsd
168 lines (167 loc) · 5.31 KB
/
Schema-dernier-service.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
159
160
161
162
163
164
165
166
167
168
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.tei-c.org/ns/1.0" xmlns:ns1="http://www.tei-c.org/ns/1.0">
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
<xs:element name="TEI">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns1:teiHeader"/>
<xs:element ref="ns1:text"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="teiHeader">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns1:fileDesc"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="fileDesc">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns1:titleStmt"/>
<xs:element ref="ns1:publicationStmt"/>
<xs:element ref="ns1:sourceDesc"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="titleStmt">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns1:title"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="title">
<xs:complexType mixed="true"/>
</xs:element>
<xs:element name="publicationStmt" type="ns1:p"/>
<xs:element name="sourceDesc" type="ns1:p"/>
<xs:element name="text">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns1:body"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="body" type="ns1:p"/>
<xs:complexType name="p">
<xs:sequence>
<xs:element ref="ns1:p"/>
</xs:sequence>
</xs:complexType>
<xs:element name="p">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:s"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="s">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="ns1:offset"/>
<xs:choice maxOccurs="unbounded">
<xs:element ref="ns1:geogName"/>
<xs:element ref="ns1:placeName"/>
<xs:element ref="ns1:w"/>
<xs:element ref="ns1:pc"/>
<xs:element ref="ns1:phr"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="pc">
<xs:complexType mixed="true">
<xs:attribute name="force" use="required" type="xs:NCName"/>
</xs:complexType>
</xs:element>
<xs:element name="phr">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="ns1:w"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="ns1:offset"/>
<xs:element ref="ns1:placeName"/>
</xs:choice>
<xs:element minOccurs="0" ref="ns1:geogName"/>
</xs:sequence>
<xs:attribute name="function" type="xs:NCName"/>
<xs:attribute name="subtype" use="required" type="xs:NCName"/>
<xs:attribute name="type" use="required" type="xs:NCName"/>
</xs:complexType>
</xs:element>
<xs:element name="offset">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="ns1:w"/>
</xs:sequence>
<xs:attribute name="ref" type="xs:anyURI"/>
<xs:attribute name="type" type="xs:NCName"/>
</xs:complexType>
</xs:element>
<xs:element name="w">
<xs:complexType mixed="true">
<xs:attribute name="lemma" type="xs:NCName"/>
<xs:attribute name="subtype" type="xs:NCName"/>
<xs:attribute name="type" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="geogName">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="ns1:geogFeat"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:w"/>
<xs:element minOccurs="0" ref="ns1:placeName"/>
<xs:choice minOccurs="0">
<xs:element ref="ns1:name"/>
<xs:element ref="ns1:rs"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="ref" use="required" type="xs:anyURI"/>
</xs:complexType>
</xs:element>
<xs:element name="rs">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns1:name"/>
</xs:sequence>
<xs:attribute name="n" use="required" type="xs:integer"/>
</xs:complexType>
</xs:element>
<xs:element name="placeName">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="ns1:geogFeat"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="ns1:geogName"/>
<xs:element ref="ns1:offset"/>
<xs:element ref="ns1:placeName"/>
<xs:element ref="ns1:w"/>
</xs:choice>
<xs:element minOccurs="0" ref="ns1:name"/>
</xs:sequence>
<xs:attribute name="key"/>
<xs:attribute name="n" use="required" type="xs:integer"/>
<xs:attribute name="ref" type="xs:anyURI"/>
<xs:attribute name="subtype" type="xs:NCName"/>
<xs:attribute name="type" type="xs:NCName"/>
<xs:attribute ref="xml:id"/>
</xs:complexType>
</xs:element>
<xs:element name="geogFeat">
<xs:complexType>
<xs:choice>
<xs:element ref="ns1:name"/>
<xs:element maxOccurs="unbounded" ref="ns1:w"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="name">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="ns1:w"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>