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