-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSchema-NER.xsd
123 lines (123 loc) · 3.78 KB
/
Schema-NER.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.tei-c.org/ns/1.0" xmlns:ns1="http://www.tei-c.org/ns/1.0">
<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:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="ns1:term"/>
<xs:element ref="ns1:w"/>
<xs:element ref="ns1:pc"/>
<xs:element ref="ns1:phr"/>
</xs:choice>
</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:choice maxOccurs="unbounded">
<xs:element ref="ns1:rs"/>
<xs:element ref="ns1:term"/>
<xs:element ref="ns1:w"/>
</xs:choice>
<xs:attribute name="type" use="required" 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:NCName"/>
</xs:complexType>
</xs:element>
<xs:element name="term">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="ns1:w"/>
</xs:sequence>
<xs:attribute name="subtype" type="xs:NCName"/>
<xs:attribute name="type" use="required" type="xs:NCName"/>
</xs:complexType>
</xs:element>
<xs:element name="rs">
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="ns1:rs"/>
<xs:element ref="ns1:term"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="ns1:w"/>
<xs:element minOccurs="0" ref="ns1:name"/>
</xs:sequence>
<xs:attribute name="subtype" type="xs:NCName"/>
<xs:attribute name="type" type="xs:NCName"/>
</xs:complexType>
</xs:element>
<xs:element name="name">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="ns1:w"/>
</xs:sequence>
<xs:attribute name="subtype" type="xs:NCName"/>
<xs:attribute name="type" type="xs:NCName"/>
</xs:complexType>
</xs:element>
</xs:schema>