-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.rnc
66 lines (55 loc) · 1.13 KB
/
schema.rnc
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
default namespace = "http://www.dwds.de/ns/glossar/1.0"
start = element glossar {
cluster,
entries
}
cluster = element cluster {
item+
}
item = element item {
attribute xml:id { xsd:ID }?,
attribute type { ('aspect'|'category') }?,
element title { text },
element desc { text }?,
figure?,
cluster*,
item*
}
figure = element figure {
attribute ref { xsd:anyURI }
}
entries = element entries {
entry*
}
entry = element entry {
attribute category { list { xsd:anyURI* } },
attribute aspect { list { xsd:anyURI* } },
(
form+
& ref*
& query*
& map?
& plot?
)
}
form = element form {
attribute hom { xsd:integer }?,
text
}
ref = element ref {
attribute target { xsd:anyURI },
attribute type { 'kicktionary' }
}
query = element query { text }
map = element map {
attribute corpus { 'regional' | 'webmonitor' }?
}
plot = element plot {
attribute hide { xsd:boolean }?,
attribute corpus { 'dwdsxl' | 'zeitungenxl' }?,
attribute start { xsd:integer }?,
attribute end { xsd:integer }?,
attribute prune { xsd:float }?,
attribute slice { xsd:integer }?,
attribute window { xsd:integer }?
}