-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmets-xlink.xsd
75 lines (75 loc) · 3.11 KB
/
mets-xlink.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
<?xml version="1.0" encoding="UTF-8"?>
<!-- METS XLink Schema, v. 2, Nov. 15, 2004 -->
<schema targetNamespace="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified">
<!-- global attributes -->
<attribute name="href" type="anyURI"/>
<attribute name="role" type="string"/>
<attribute name="arcrole" type="string"/>
<attribute name="title" type="string" />
<attribute name="show">
<simpleType>
<restriction base="string">
<enumeration value="new" />
<enumeration value="replace" />
<enumeration value="embed" />
<enumeration value="other" />
<enumeration value="none" />
</restriction>
</simpleType>
</attribute>
<attribute name="actuate">
<simpleType>
<restriction base="string">
<enumeration value="onLoad" />
<enumeration value="onRequest" />
<enumeration value="other" />
<enumeration value="none" />
</restriction>
</simpleType>
</attribute>
<attribute name="label" type="string" />
<attribute name="from" type="string" />
<attribute name="to" type="string" />
<attributeGroup name="simpleLink">
<attribute name="type" type="string" fixed="simple" form="qualified" />
<attribute ref="xlink:href" use="optional" />
<attribute ref="xlink:role" use="optional" />
<attribute ref="xlink:arcrole" use="optional" />
<attribute ref="xlink:title" use="optional" />
<attribute ref="xlink:show" use="optional" />
<attribute ref="xlink:actuate" use="optional" />
</attributeGroup>
<attributeGroup name="extendedLink">
<attribute name="type" type="string" fixed="extended" form="qualified" />
<attribute ref="xlink:role" use="optional" />
<attribute ref="xlink:title" use="optional" />
</attributeGroup>
<attributeGroup name="locatorLink">
<attribute name="type" type="string" fixed="locator" form="qualified" />
<attribute ref="xlink:href" use="required" />
<attribute ref="xlink:role" use="optional" />
<attribute ref="xlink:title" use="optional" />
<attribute ref="xlink:label" use="optional" />
</attributeGroup>
<attributeGroup name="arcLink">
<attribute name="type" type="string" fixed="arc" form="qualified" />
<attribute ref="xlink:arcrole" use="optional" />
<attribute ref="xlink:title" use="optional" />
<attribute ref="xlink:show" use="optional" />
<attribute ref="xlink:actuate" use="optional" />
<attribute ref="xlink:from" use="optional" />
<attribute ref="xlink:to" use="optional" />
</attributeGroup>
<attributeGroup name="resourceLink">
<attribute name="type" type="string" fixed="resource" form="qualified" />
<attribute ref="xlink:role" use="optional" />
<attribute ref="xlink:title" use="optional" />
<attribute ref="xlink:label" use="optional" />
</attributeGroup>
<attributeGroup name="titleLink">
<attribute name="type" type="string" fixed="title" form="qualified" />
</attributeGroup>
<attributeGroup name="emptyLink">
<attribute name="type" type="string" fixed="none" form="qualified" />
</attributeGroup>
</schema>