1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<schema targetNamespace="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2001/XMLSchema" version="3.2.0">
|
3
|
<annotation>
|
4
|
<appinfo source="urn:opengis:specification:gml:schema-xlinks:v3.2.0">xlinks.xsd</appinfo>
|
5
|
<documentation>see GML 7.2</documentation>
|
6
|
</annotation>
|
7
|
<!-- ==============================================================
|
8
|
global declarations
|
9
|
=============================================================== -->
|
10
|
<!-- locator attribute -->
|
11
|
<attribute name="href" type="anyURI"/>
|
12
|
<!-- semantic attributes -->
|
13
|
<attribute name="role" type="anyURI"/>
|
14
|
<attribute name="arcrole" type="anyURI"/>
|
15
|
<attribute name="title" type="string"/>
|
16
|
<!-- behavior attributes -->
|
17
|
<attribute name="show">
|
18
|
<annotation>
|
19
|
<documentation>
|
20
|
The 'show' attribute is used to communicate the desired presentation
|
21
|
of the ending resource on traversal from the starting resource; it's
|
22
|
value should be treated as follows:
|
23
|
new - load ending resource in a new window, frame, pane, or other
|
24
|
presentation context
|
25
|
replace - load the resource in the same window, frame, pane, or
|
26
|
other presentation context
|
27
|
embed - load ending resource in place of the presentation of the
|
28
|
starting resource
|
29
|
other - behavior is unconstrained; examine other markup in the
|
30
|
link for hints
|
31
|
none - behavior is unconstrained
|
32
|
</documentation>
|
33
|
</annotation>
|
34
|
<simpleType>
|
35
|
<restriction base="string">
|
36
|
<enumeration value="new"/>
|
37
|
<enumeration value="replace"/>
|
38
|
<enumeration value="embed"/>
|
39
|
<enumeration value="other"/>
|
40
|
<enumeration value="none"/>
|
41
|
</restriction>
|
42
|
</simpleType>
|
43
|
</attribute>
|
44
|
<attribute name="actuate">
|
45
|
<annotation>
|
46
|
<documentation>
|
47
|
The 'actuate' attribute is used to communicate the desired timing
|
48
|
of traversal from the starting resource to the ending resource;
|
49
|
it's value should be treated as follows:
|
50
|
onLoad - traverse to the ending resource immediately on loading
|
51
|
the starting resource
|
52
|
onRequest - traverse from the starting resource to the ending
|
53
|
resource only on a post-loading event triggered for
|
54
|
this purpose
|
55
|
other - behavior is unconstrained; examine other markup in link
|
56
|
for hints
|
57
|
none - behavior is unconstrained
|
58
|
</documentation>
|
59
|
</annotation>
|
60
|
<simpleType>
|
61
|
<restriction base="string">
|
62
|
<enumeration value="onLoad"/>
|
63
|
<enumeration value="onRequest"/>
|
64
|
<enumeration value="other"/>
|
65
|
<enumeration value="none"/>
|
66
|
</restriction>
|
67
|
</simpleType>
|
68
|
</attribute>
|
69
|
<!-- traversal attributes -->
|
70
|
<attribute name="label" type="string"/>
|
71
|
<attribute name="from" type="string"/>
|
72
|
<attribute name="to" type="string"/>
|
73
|
<!-- ==============================================================
|
74
|
Attributes grouped by XLink type, as specified in the W3C Recommendation
|
75
|
============================================================== -->
|
76
|
<attributeGroup name="simpleLink">
|
77
|
<attribute name="type" type="string" fixed="simple" form="qualified"/>
|
78
|
<attribute ref="xlink:href" use="optional"/>
|
79
|
<attribute ref="xlink:role" use="optional"/>
|
80
|
<attribute ref="xlink:arcrole" use="optional"/>
|
81
|
<attribute ref="xlink:title" use="optional"/>
|
82
|
<attribute ref="xlink:show" use="optional"/>
|
83
|
<attribute ref="xlink:actuate" use="optional"/>
|
84
|
</attributeGroup>
|
85
|
<attributeGroup name="extendedLink">
|
86
|
<attribute name="type" type="string" fixed="extended" form="qualified"/>
|
87
|
<attribute ref="xlink:role" use="optional"/>
|
88
|
<attribute ref="xlink:title" use="optional"/>
|
89
|
</attributeGroup>
|
90
|
<attributeGroup name="locatorLink">
|
91
|
<attribute name="type" type="string" fixed="locator" form="qualified"/>
|
92
|
<attribute ref="xlink:href" use="required"/>
|
93
|
<attribute ref="xlink:role" use="optional"/>
|
94
|
<attribute ref="xlink:title" use="optional"/>
|
95
|
<attribute ref="xlink:label" use="optional"/>
|
96
|
</attributeGroup>
|
97
|
<attributeGroup name="arcLink">
|
98
|
<attribute name="type" type="string" fixed="arc" form="qualified"/>
|
99
|
<attribute ref="xlink:arcrole" use="optional"/>
|
100
|
<attribute ref="xlink:title" use="optional"/>
|
101
|
<attribute ref="xlink:show" use="optional"/>
|
102
|
<attribute ref="xlink:actuate" use="optional"/>
|
103
|
<attribute ref="xlink:from" use="optional"/>
|
104
|
<attribute ref="xlink:to" use="optional"/>
|
105
|
</attributeGroup>
|
106
|
<attributeGroup name="resourceLink">
|
107
|
<attribute name="type" type="string" fixed="resource" form="qualified"/>
|
108
|
<attribute ref="xlink:role" use="optional"/>
|
109
|
<attribute ref="xlink:title" use="optional"/>
|
110
|
<attribute ref="xlink:label" use="optional"/>
|
111
|
</attributeGroup>
|
112
|
<attributeGroup name="titleLink">
|
113
|
<attribute name="type" type="string" fixed="title" form="qualified"/>
|
114
|
</attributeGroup>
|
115
|
<attributeGroup name="emptyLink">
|
116
|
<attribute name="type" type="string" fixed="none" form="qualified"/>
|
117
|
</attributeGroup>
|
118
|
</schema>
|