Project

General

Profile

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